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.0007012/0.0007012, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000714/0.0007139, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.23/1.23, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6244/0.6244, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 8 kB / 496 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 77.53 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001997/0.1221, allocations: 1.564 MB / 0.5616 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1241, allocations: 1.53 MB / 0.5631 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.1242, allocations: 0 / 0.5631 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1244, allocations: 31.83 kB / 0.5631 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1246, allocations: 67.73 kB / 0.5632 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.125, allocations: 149.9 kB / 0.5633 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1253, allocations: 265.3 kB / 0.5636 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.1254, allocations: 29.33 kB / 0.5636 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.1255, allocations: 75.83 kB / 0.5637 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1257, allocations: 103.6 kB / 0.5638 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.1258, allocations: 12 kB / 0.5638 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1259, allocations: 79.95 kB / 0.5638 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.126, allocations: 79.73 kB / 0.5639 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1261, allocations: 133 kB / 0.564 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1265, allocations: 303 kB / 0.5643 GB, free: 4.578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1265, allocations: 0 / 0.5643 GB, free: 4.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1265, allocations: 3.938 kB / 0.5643 GB, free: 4.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1265, allocations: 0 / 0.5643 GB, free: 4.574 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.0006579/0.1272, allocations: 0.5149 MB / 0.5648 GB, free: 4.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1272, allocations: 12.03 kB / 0.5649 GB, free: 4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.1273, allocations: 58.73 kB / 0.5649 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1274, allocations: 28.66 kB / 0.5649 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1277, allocations: 270.7 kB / 0.5652 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1277, allocations: 16.38 kB / 0.5652 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1277, allocations: 19.94 kB / 0.5652 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.1281, allocations: 241.6 kB / 0.5655 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1281, allocations: 0 / 0.5655 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.1281, allocations: 12 kB / 0.5655 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1281, allocations: 4 kB / 0.5655 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/0.129, allocations: 0.749 MB / 0.5662 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009471/0.1299, allocations: 0.6545 MB / 0.5668 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.1304, allocations: 321.9 kB / 0.5672 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1306, allocations: 109.4 kB / 0.5673 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.1306, allocations: 16.25 kB / 0.5673 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.1309, allocations: 183.5 kB / 0.5674 GB, free: 1.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.654e-06/0.1309, allocations: 0 / 0.5674 GB, free: 1.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006059/0.1315, allocations: 374.4 kB / 0.5678 GB, free: 0.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1316, allocations: 136.5 kB / 0.5679 GB, free: 0.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1319, allocations: 313 kB / 0.5682 GB, free: 360 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.1319, allocations: 33.7 kB / 0.5683 GB, free: 320 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.132, allocations: 136.5 kB / 0.5684 GB, free: 176 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.1321, allocations: 118.3 kB / 0.5685 GB, free: 56 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1322, allocations: 29.72 kB / 0.5685 GB, free: 20 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1323, allocations: 338.8 kB / 0.5689 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1324, allocations: 83.89 kB / 0.5689 GB, free: 15.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.1326, allocations: 137 kB / 0.5691 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.1329, allocations: 210.4 kB / 0.5693 GB, free: 15.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1329, allocations: 0 / 0.5693 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003951/0.1333, allocations: 281 kB / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1334, allocations: 7.938 kB / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1334, allocations: 0 / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1334, allocations: 0 / 0.5695 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.1336, allocations: 67.91 kB / 0.5696 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1336, allocations: 0 / 0.5696 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1338, allocations: 32.44 kB / 0.5696 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1338, allocations: 12 kB / 0.5697 GB, free: 14.85 MB / 446.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.0001509/0.1339, allocations: 169.7 kB / 0.5698 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.134, allocations: 35.5 kB / 0.5699 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006251/0.1346, allocations: 388.8 kB / 0.5702 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1346, allocations: 8 kB / 0.5702 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1347, allocations: 0 / 0.5702 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1347, allocations: 4 kB / 0.5702 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.135, allocations: 345.2 kB / 0.5706 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.135, allocations: 0 / 0.5706 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1352, allocations: 55.91 kB / 0.5706 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1352, allocations: 7.938 kB / 0.5706 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1352, allocations: 11.98 kB / 0.5706 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1352, allocations: 0 / 0.5706 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1352, allocations: 0 / 0.5706 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.1356, allocations: 329.5 kB / 0.5709 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1358, allocations: 148.7 kB / 0.5711 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.1358, allocations: 11.94 kB / 0.5711 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.136, allocations: 31.97 kB / 0.5711 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.1361, allocations: 27.91 kB / 0.5712 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.1361, allocations: 15.98 kB / 0.5712 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1363, allocations: 236.5 kB / 0.5714 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1363, allocations: 3.938 kB / 0.5714 GB, free: 12.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1366, allocations: 67.89 kB / 0.5715 GB, free: 12.88 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.001408/0.138, allocations: 1.166 MB / 0.5726 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.1384, allocations: 235.5 kB / 0.5728 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1384, allocations: 0 / 0.5728 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.1386, allocations: 127.8 kB / 0.573 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1389, allocations: 43.86 kB / 0.573 GB, free: 11.46 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.002795/0.1417, allocations: 2.606 MB / 0.5755 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.142, allocations: 0.7614 MB / 0.5763 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003057/0.1423, allocations: 138.9 kB / 0.5764 GB, free: 7.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1424, allocations: 103.4 kB / 0.5765 GB, free: 7.738 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1424, allocations: 4 kB / 0.5765 GB, free: 7.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.619/3.761, allocations: 5.504 MB / 0.5819 GB, free: 2.441 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/3.762, allocations: 274 kB / 0.5822 GB, free: 2.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/5.459, allocations: 0 / 0.5822 GB, free: 2.078 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)