Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.0006835/0.0006836, 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.000705/0.0007049, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.228/1.228, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6437/0.6437, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 8.906 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 77.53 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001354/0.1223, allocations: 1.189 MB / 0.5612 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.1229, allocations: 454.9 kB / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.1229, allocations: 4 kB / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.123, allocations: 0 / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1232, allocations: 23.91 kB / 0.5617 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.333e-05/0.1232, allocations: 19.92 kB / 0.5617 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.337e-05/0.1233, allocations: 43.86 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/0.1234, allocations: 7.984 kB / 0.5617 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.1235, allocations: 19.92 kB / 0.5618 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.1236, allocations: 31.84 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1236, allocations: 4 kB / 0.5618 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.1236, allocations: 0 / 0.5618 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.1236, allocations: 7.938 kB / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1237, allocations: 49.61 kB / 0.5618 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.1237, allocations: 40.09 kB / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1238, allocations: 0 / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1238, allocations: 0 / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1238, allocations: 0 / 0.5619 GB, free: 7.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004582/0.1242, allocations: 347.4 kB / 0.5622 GB, free: 6.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1243, allocations: 12.03 kB / 0.5622 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.1243, allocations: 34.69 kB / 0.5623 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.1243, allocations: 4.844 kB / 0.5623 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1245, allocations: 180.4 kB / 0.5624 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1245, allocations: 384 / 0.5624 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1245, allocations: 384 / 0.5624 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1246, allocations: 57.75 kB / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1246, allocations: 0 / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1246, allocations: 4 kB / 0.5625 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1247, allocations: 3.938 kB / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.1247, allocations: 19.98 kB / 0.5625 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.125, allocations: 276.8 kB / 0.5628 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.1251, allocations: 46.5 kB / 0.5628 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.1252, allocations: 24.86 kB / 0.5629 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.1252, allocations: 4 kB / 0.5629 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.1253, allocations: 63.47 kB / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1253, allocations: 0 / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001847/0.1255, allocations: 85.62 kB / 0.563 GB, free: 5.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.1256, allocations: 51.41 kB / 0.563 GB, free: 5.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.1257, allocations: 113.8 kB / 0.5632 GB, free: 5.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1257, allocations: 25.7 kB / 0.5632 GB, free: 5.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1257, allocations: 88.14 kB / 0.5633 GB, free: 5.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1257, allocations: 19.8 kB / 0.5633 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.1258, allocations: 9.719 kB / 0.5633 GB, free: 5.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1259, allocations: 322.8 kB / 0.5636 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.1259, allocations: 11.98 kB / 0.5636 GB, free: 5.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.1259, allocations: 12 kB / 0.5636 GB, free: 5.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.126, allocations: 24.86 kB / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.126, allocations: 0 / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.866e-05/0.1261, allocations: 73.53 kB / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.1261, allocations: 8 kB / 0.5637 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1261, allocations: 0 / 0.5637 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.1261, allocations: 0 / 0.5637 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.1262, allocations: 11.98 kB / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.1262, allocations: 320 / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.1263, allocations: 4 kB / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1263, allocations: 0 / 0.5637 GB, free: 4.906 MB / 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.769e-05/0.1264, allocations: 121.8 kB / 0.5639 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1264, allocations: 11.98 kB / 0.5639 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.1264, allocations: 7.969 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1264, allocations: 0 / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1264, allocations: 0 / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1265, allocations: 3.938 kB / 0.5639 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1266, allocations: 177.5 kB / 0.564 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1266, allocations: 8.359 kB / 0.5641 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.1266, allocations: 4 kB / 0.5641 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1266, allocations: 3.938 kB / 0.5641 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1266, allocations: 4 kB / 0.5641 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1266, allocations: 0 / 0.5641 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1266, allocations: 4 kB / 0.5641 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1268, allocations: 101 kB / 0.5642 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1268, allocations: 84.95 kB / 0.5642 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1268, allocations: 0 / 0.5642 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.1269, allocations: 4 kB / 0.5643 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1269, allocations: 11.97 kB / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.127, allocations: 4 kB / 0.5643 GB, free: 4.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.127, allocations: 95.27 kB / 0.5644 GB, free: 4.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.127, allocations: 0 / 0.5644 GB, free: 4.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001768/0.1272, allocations: 8 kB / 0.5644 GB, free: 4.168 MB / 430.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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0003566/0.1276, allocations: 0.628 MB / 0.565 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.1277, allocations: 35.98 kB / 0.565 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1277, allocations: 4 kB / 0.565 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.1277, allocations: 23.92 kB / 0.565 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.1279, allocations: 0 / 0.565 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.1288, allocations: 1.236 MB / 0.5662 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.129, allocations: 0.6848 MB / 0.5669 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.1291, allocations: 0 / 0.5669 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.1291, allocations: 23.42 kB / 0.5669 GB, free: 1.391 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1291, allocations: 0 / 0.5669 GB, free: 1.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5267/0.6558, allocations: 1.272 MB / 0.5682 GB, free: 312 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.6561, allocations: 220.9 kB / 0.5684 GB, free: 56 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.229, allocations: 7.188 kB / 0.5684 GB, free: 52 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)