Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_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.004111/0.004111, allocations: 101 kB / 15.87 MB, free: 6.312 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.001086/0.001086, allocations: 195 kB / 16.79 MB, free: 6.242 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.176/1.176, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6143/0.6143, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 60.53 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1139, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002655/0.1166, allocations: 1.922 MB / 0.5577 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1183, allocations: 1.549 MB / 0.5592 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.1184, allocations: 7.938 kB / 0.5592 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1186, allocations: 27.84 kB / 0.5593 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1188, allocations: 59.75 kB / 0.5593 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1191, allocations: 154.7 kB / 0.5595 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1194, allocations: 261.4 kB / 0.5597 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.1195, allocations: 33.33 kB / 0.5598 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.1195, allocations: 79.77 kB / 0.5598 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1197, allocations: 99.69 kB / 0.5599 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.1198, allocations: 12 kB / 0.5599 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1199, allocations: 83.95 kB / 0.56 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.12, allocations: 83.73 kB / 0.5601 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1201, allocations: 107.3 kB / 0.5602 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1204, allocations: 307 kB / 0.5605 GB, free: 5.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1204, allocations: 3.938 kB / 0.5605 GB, free: 5.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1204, allocations: 4 kB / 0.5605 GB, free: 5.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1204, allocations: 0 / 0.5605 GB, free: 5.922 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006806/0.1211, allocations: 0.5749 MB / 0.5611 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1212, allocations: 12.03 kB / 0.5611 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.1212, allocations: 46.73 kB / 0.5611 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1214, allocations: 44.64 kB / 0.5612 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1216, allocations: 266.7 kB / 0.5614 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1216, allocations: 12.38 kB / 0.5614 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.1217, allocations: 19.94 kB / 0.5614 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.122, allocations: 245.6 kB / 0.5617 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.122, allocations: 0 / 0.5617 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1221, allocations: 8 kB / 0.5617 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1221, allocations: 7.984 kB / 0.5617 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.1229, allocations: 0.749 MB / 0.5624 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.1239, allocations: 0.648 MB / 0.5631 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.1244, allocations: 302 kB / 0.5633 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1245, allocations: 121.3 kB / 0.5635 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.1246, allocations: 20.19 kB / 0.5635 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.1249, allocations: 175.6 kB / 0.5636 GB, free: 2.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.1249, allocations: 0 / 0.5636 GB, free: 2.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006238/0.1255, allocations: 378.4 kB / 0.564 GB, free: 2.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.1256, allocations: 136.5 kB / 0.5641 GB, free: 1.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1259, allocations: 305 kB / 0.5644 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1259, allocations: 37.64 kB / 0.5645 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.126, allocations: 140.6 kB / 0.5646 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.1261, allocations: 118.3 kB / 0.5647 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.1262, allocations: 61.69 kB / 0.5648 GB, free: 1.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1263, allocations: 342.8 kB / 0.5651 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1264, allocations: 83.94 kB / 0.5652 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.1266, allocations: 129 kB / 0.5653 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.1269, allocations: 218.3 kB / 0.5655 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1269, allocations: 0 / 0.5655 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004147/0.1273, allocations: 281.2 kB / 0.5658 GB, free: 240 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1274, allocations: 11.88 kB / 0.5658 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1274, allocations: 0 / 0.5658 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1274, allocations: 0 / 0.5658 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1276, allocations: 59.97 kB / 0.5658 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1276, allocations: 7.938 kB / 0.5659 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1278, allocations: 23.83 kB / 0.5659 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1278, allocations: 8 kB / 0.5659 GB, free: 128 kB / 430.1 MB 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.0001511/0.1279, allocations: 165.8 kB / 0.566 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.128, allocations: 35.56 kB / 0.5661 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006224/0.1286, allocations: 388.8 kB / 0.5664 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1287, allocations: 4 kB / 0.5665 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1287, allocations: 0 / 0.5665 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1287, allocations: 0 / 0.5665 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.129, allocations: 353.2 kB / 0.5668 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.129, allocations: 0 / 0.5668 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1292, allocations: 59.91 kB / 0.5668 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1292, allocations: 3.938 kB / 0.5668 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1292, allocations: 8 kB / 0.5669 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1292, allocations: 7.984 kB / 0.5669 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1292, allocations: 3.938 kB / 0.5669 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.1296, allocations: 325.4 kB / 0.5672 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1298, allocations: 148.7 kB / 0.5673 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.1298, allocations: 11.92 kB / 0.5673 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.13, allocations: 19.98 kB / 0.5674 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1301, allocations: 23.97 kB / 0.5674 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.1301, allocations: 19.98 kB / 0.5674 GB, free: 14.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.1303, allocations: 236.4 kB / 0.5676 GB, free: 14.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1303, allocations: 0 / 0.5676 GB, free: 14.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1306, allocations: 60 kB / 0.5677 GB, free: 14.18 MB / 446.1 MB 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.001428/0.132, allocations: 1.173 MB / 0.5688 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1324, allocations: 223.7 kB / 0.569 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1324, allocations: 4 kB / 0.569 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.1326, allocations: 131.8 kB / 0.5692 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1329, allocations: 48.41 kB / 0.5692 GB, free: 12.75 MB / 446.1 MB 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.002706/0.1356, allocations: 2.594 MB / 0.5717 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1359, allocations: 0.7653 MB / 0.5725 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.1362, allocations: 146.8 kB / 0.5726 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1363, allocations: 99.39 kB / 0.5727 GB, free: 9.039 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1363, allocations: 3.938 kB / 0.5727 GB, free: 9.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 15.54/15.68, allocations: 5.727 MB / 0.5783 GB, free: 3.512 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/15.68, allocations: 281.4 kB / 0.5786 GB, free: 3.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/17.31, allocations: 4 kB / 0.5786 GB, free: 3.133 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)