Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.0008661/0.0008661, 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.0007484/0.0007484, allocations: 179.5 kB / 16.92 MB, free: 6.637 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.215/1.215, 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.6359/0.6359, allocations: 115.5 MB / 407.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 8 kB / 496 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 77.54 MB / 0.5601 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00136/0.1218, allocations: 1.173 MB / 0.5612 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003287/0.1221, allocations: 175.4 kB / 0.5614 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1222, allocations: 0 / 0.5614 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1222, allocations: 3.938 kB / 0.5614 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1224, allocations: 23.91 kB / 0.5614 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.1225, allocations: 47.94 kB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.1226, allocations: 51.84 kB / 0.5615 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.1227, allocations: 8 kB / 0.5615 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.1228, allocations: 23.92 kB / 0.5615 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.1228, allocations: 15.91 kB / 0.5615 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1229, allocations: 4 kB / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.1229, allocations: 4 kB / 0.5615 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.1229, allocations: 7.984 kB / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1229, allocations: 45.62 kB / 0.5616 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.479e-05/0.123, allocations: 52.08 kB / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.123, allocations: 0 / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.123, allocations: 0 / 0.5616 GB, free: 7.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.123, allocations: 0 / 0.5616 GB, free: 7.348 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.0004154/0.1235, allocations: 343.4 kB / 0.562 GB, free: 6.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1235, allocations: 8.031 kB / 0.562 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1235, allocations: 34.75 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.1236, allocations: 4.922 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1237, allocations: 172.2 kB / 0.5622 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1237, allocations: 12.31 kB / 0.5622 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.1237, allocations: 4.375 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1239, allocations: 68.81 kB / 0.5623 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1239, allocations: 3.938 kB / 0.5623 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1239, allocations: 4 kB / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1239, allocations: 0 / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.1239, allocations: 23.92 kB / 0.5623 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.1243, allocations: 268.9 kB / 0.5625 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.1244, allocations: 46.48 kB / 0.5626 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.1244, allocations: 20.86 kB / 0.5626 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1244, allocations: 96 / 0.5626 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.1246, allocations: 71.31 kB / 0.5627 GB, free: 6.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1246, allocations: 0 / 0.5627 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001713/0.1247, allocations: 73.59 kB / 0.5628 GB, free: 6.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.1248, allocations: 106.8 kB / 0.5629 GB, free: 5.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.1249, allocations: 105.8 kB / 0.563 GB, free: 5.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1249, allocations: 25.7 kB / 0.563 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.1249, allocations: 84.14 kB / 0.5631 GB, free: 5.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.125, allocations: 19.81 kB / 0.5631 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.125, allocations: 9.719 kB / 0.5631 GB, free: 5.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.1251, allocations: 322.8 kB / 0.5634 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.1251, allocations: 15.94 kB / 0.5634 GB, free: 5.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.1252, allocations: 30.56 kB / 0.5634 GB, free: 5.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.1252, allocations: 28.84 kB / 0.5635 GB, free: 5.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1252, allocations: 0 / 0.5635 GB, free: 5.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.737e-05/0.1253, allocations: 61.61 kB / 0.5635 GB, free: 5.148 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.1254, allocations: 4 kB / 0.5635 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1254, allocations: 8.016 kB / 0.5635 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1254, allocations: 0 / 0.5635 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.1254, allocations: 11.94 kB / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1254, allocations: 0 / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1256, allocations: 11.98 kB / 0.5636 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1256, allocations: 0 / 0.5636 GB, free: 5.113 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 (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 (5): * Single equations (assignments): 5 * 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.376e-05/0.1256, allocations: 117.8 kB / 0.5637 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1257, allocations: 3.938 kB / 0.5637 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.1257, allocations: 11.5 kB / 0.5637 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1257, allocations: 0 / 0.5637 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1257, allocations: 0 / 0.5637 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1257, allocations: 3.984 kB / 0.5637 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1258, allocations: 169.6 kB / 0.5639 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1258, allocations: 0 / 0.5639 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.1259, allocations: 4.438 kB / 0.5639 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1259, allocations: 0 / 0.5639 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1259, allocations: 3.984 kB / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1259, allocations: 4 kB / 0.5639 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1259, allocations: 4 kB / 0.5639 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.126, allocations: 96.91 kB / 0.564 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1261, allocations: 93.03 kB / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1261, allocations: 0 / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1262, allocations: 11.98 kB / 0.5641 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1262, allocations: 3.984 kB / 0.5641 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1263, allocations: 4 kB / 0.5641 GB, free: 4.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.1263, allocations: 87.28 kB / 0.5642 GB, free: 4.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1263, allocations: 0 / 0.5642 GB, free: 4.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001846/0.1265, allocations: 12 kB / 0.5642 GB, free: 4.398 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003615/0.1269, allocations: 0.632 MB / 0.5648 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.127, allocations: 32.02 kB / 0.5648 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.127, allocations: 4 kB / 0.5648 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.127, allocations: 19.98 kB / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1272, allocations: 0 / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.1281, allocations: 1.179 MB / 0.566 GB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1283, allocations: 0.6818 MB / 0.5667 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1283, allocations: 4 kB / 0.5667 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1284, allocations: 19.44 kB / 0.5667 GB, free: 1.688 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1284, allocations: 0 / 0.5667 GB, free: 1.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/0.2482, allocations: 1.524 MB / 0.5682 GB, free: 360 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.2484, allocations: 234.9 kB / 0.5684 GB, free: 92 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.777, allocations: 0 / 0.5684 GB, free: 92 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)