Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 194.2 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7153/0.7153, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.41 kB / 0.5012 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1229, allocations: 80.21 MB / 0.5795 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002571/0.1255, allocations: 1.906 MB / 0.5814 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1272, allocations: 1.545 MB / 0.5829 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.1273, allocations: 4 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1274, allocations: 23.92 kB / 0.5829 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1276, allocations: 67.67 kB / 0.583 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.128, allocations: 149.4 kB / 0.5831 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.1282, allocations: 257.3 kB / 0.5834 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.1283, allocations: 33.33 kB / 0.5834 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.1284, allocations: 83.77 kB / 0.5835 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1286, allocations: 99.69 kB / 0.5836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.1286, allocations: 12 kB / 0.5836 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1287, allocations: 83.95 kB / 0.5837 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.1288, allocations: 71.81 kB / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.1289, allocations: 115.2 kB / 0.5838 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1292, allocations: 303 kB / 0.5841 GB, free: 4.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1293, allocations: 3.938 kB / 0.5841 GB, free: 4.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1293, allocations: 4 kB / 0.5841 GB, free: 4.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1293, allocations: 0 / 0.5841 GB, free: 4.348 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006591/0.1299, allocations: 0.5539 MB / 0.5847 GB, free: 3.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.13, allocations: 8.031 kB / 0.5847 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.13, allocations: 58.72 kB / 0.5847 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1302, allocations: 32.64 kB / 0.5848 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1304, allocations: 274.7 kB / 0.585 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1304, allocations: 12.38 kB / 0.585 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1305, allocations: 23.94 kB / 0.5851 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.1308, allocations: 236.7 kB / 0.5853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1308, allocations: 0 / 0.5853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1308, allocations: 8 kB / 0.5853 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1309, allocations: 4 kB / 0.5853 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.1316, allocations: 0.7412 MB / 0.586 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.1325, allocations: 0.6367 MB / 0.5867 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.1329, allocations: 305.9 kB / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1331, allocations: 113.4 kB / 0.5871 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.1331, allocations: 16.25 kB / 0.5871 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.1334, allocations: 187.4 kB / 0.5872 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.1335, allocations: 0 / 0.5872 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005936/0.1341, allocations: 373.8 kB / 0.5876 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1341, allocations: 140.5 kB / 0.5877 GB, free: 444 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1344, allocations: 305 kB / 0.588 GB, free: 128 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1344, allocations: 37.7 kB / 0.5881 GB, free: 84 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.1345, allocations: 132.7 kB / 0.5882 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.1346, allocations: 122.2 kB / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/0.1347, allocations: 61.69 kB / 0.5884 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1348, allocations: 338.8 kB / 0.5887 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1349, allocations: 79.95 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.1351, allocations: 129.1 kB / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1354, allocations: 226.3 kB / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1354, allocations: 0 / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003926/0.1358, allocations: 281 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1358, allocations: 8 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1358, allocations: 0 / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.1358, allocations: 3.938 kB / 0.5894 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.136, allocations: 63.91 kB / 0.5894 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.136, allocations: 4 kB / 0.5894 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1362, allocations: 23.83 kB / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.1362, allocations: 15.98 kB / 0.5895 GB, free: 14.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.1363, allocations: 166.4 kB / 0.5896 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.1364, allocations: 27.66 kB / 0.5897 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.137, allocations: 396.7 kB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.137, allocations: 4 kB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.137, allocations: 0 / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.137, allocations: 7.984 kB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1373, allocations: 337.3 kB / 0.5904 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1373, allocations: 0 / 0.5904 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1375, allocations: 59.91 kB / 0.5904 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1375, allocations: 4 kB / 0.5904 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1375, allocations: 19.86 kB / 0.5905 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1375, allocations: 0 / 0.5905 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1375, allocations: 0 / 0.5905 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.138, allocations: 321.8 kB / 0.5908 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1381, allocations: 152.6 kB / 0.5909 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1381, allocations: 11.94 kB / 0.5909 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1383, allocations: 23.08 kB / 0.5909 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.1384, allocations: 31.81 kB / 0.591 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1384, allocations: 8 kB / 0.591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001784/0.1386, allocations: 244.4 kB / 0.5912 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1386, allocations: 0 / 0.5912 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002658/0.1388, allocations: 71.92 kB / 0.5913 GB, free: 12.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.1402, allocations: 1.147 MB / 0.5924 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1405, allocations: 231.6 kB / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1405, allocations: 0 / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.1407, allocations: 139.6 kB / 0.5928 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.141, allocations: 45.16 kB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.1436, allocations: 2.583 MB / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1438, allocations: 0.766 MB / 0.5961 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.1441, allocations: 151 kB / 0.5962 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1443, allocations: 95.39 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1443, allocations: 0 / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.775/1.92, allocations: 5.718 MB / 0.6019 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.92, allocations: 284 kB / 0.6022 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/3.718, allocations: 0 / 0.6022 GB, free: 1.691 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)