Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.0008472/0.0008473, allocations: 97.95 kB / 16.02 MB, free: 80 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.0008114/0.0008114, allocations: 180 kB / 16.92 MB, free: 6.922 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.224/1.224, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6427/0.6427, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8.281 kB / 496 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1172, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001313/0.1186, allocations: 1.162 MB / 0.5612 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.1192, allocations: 494.8 kB / 0.5617 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.1193, allocations: 0 / 0.5617 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1193, allocations: 0 / 0.5617 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1195, allocations: 23.91 kB / 0.5617 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.133e-05/0.1196, allocations: 23.92 kB / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.1196, allocations: 43.86 kB / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.1197, allocations: 11.98 kB / 0.5618 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.1198, allocations: 23.91 kB / 0.5618 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.1199, allocations: 27.84 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1199, allocations: 0 / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.1199, allocations: 4 kB / 0.5618 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.1199, allocations: 7.984 kB / 0.5618 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.12, allocations: 41.62 kB / 0.5619 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.24e-05/0.1201, allocations: 48.09 kB / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1201, allocations: 0 / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1201, allocations: 0 / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.1201, allocations: 0 / 0.5619 GB, free: 7.035 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004579/0.1205, allocations: 349.4 kB / 0.5622 GB, free: 6.648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1206, allocations: 8.031 kB / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1206, allocations: 38.69 kB / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1206, allocations: 4.938 kB / 0.5623 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1208, allocations: 184.2 kB / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1208, allocations: 384 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1208, allocations: 4.375 kB / 0.5625 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1209, allocations: 61.78 kB / 0.5625 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.1209, allocations: 0 / 0.5625 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1209, allocations: 0 / 0.5625 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1209, allocations: 0 / 0.5625 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.36e-05/0.121, allocations: 23.98 kB / 0.5625 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.1213, allocations: 276.8 kB / 0.5628 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1215, allocations: 66.67 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.1216, allocations: 20.84 kB / 0.5629 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1216, allocations: 4 kB / 0.5629 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1217, allocations: 71.33 kB / 0.563 GB, free: 5.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1217, allocations: 0 / 0.563 GB, free: 5.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002033/0.122, allocations: 101.6 kB / 0.5631 GB, free: 5.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.122, allocations: 51.41 kB / 0.5631 GB, free: 5.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.1221, allocations: 101.9 kB / 0.5632 GB, free: 5.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1221, allocations: 25.7 kB / 0.5632 GB, free: 5.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.1221, allocations: 88.12 kB / 0.5633 GB, free: 5.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1221, allocations: 19.81 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.1222, allocations: 17.72 kB / 0.5633 GB, free: 5.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.1223, allocations: 318.8 kB / 0.5637 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.1223, allocations: 15.94 kB / 0.5637 GB, free: 4.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.1223, allocations: 23.98 kB / 0.5637 GB, free: 4.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.1224, allocations: 36.86 kB / 0.5637 GB, free: 4.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1224, allocations: 0 / 0.5637 GB, free: 4.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001137/0.1226, allocations: 69.83 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.1226, allocations: 4 kB / 0.5638 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1226, allocations: 3.938 kB / 0.5638 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1226, allocations: 8 kB / 0.5638 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.1227, allocations: 11.94 kB / 0.5638 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1227, allocations: 4.062 kB / 0.5638 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.1228, allocations: 11.89 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1228, allocations: 0 / 0.5638 GB, free: 4.816 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.148e-05/0.1228, allocations: 117.8 kB / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1229, allocations: 0 / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.123, allocations: 113.5 kB / 0.5641 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1231, allocations: 0 / 0.5641 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1231, allocations: 0 / 0.5641 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1231, allocations: 0 / 0.5641 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1232, allocations: 189.5 kB / 0.5642 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1232, allocations: 0 / 0.5642 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.1233, allocations: 16.17 kB / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1233, allocations: 0 / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1233, allocations: 0 / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1233, allocations: 4 kB / 0.5643 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1233, allocations: 3.984 kB / 0.5643 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1235, allocations: 121 kB / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.1235, allocations: 84.95 kB / 0.5645 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1235, allocations: 4 kB / 0.5645 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1236, allocations: 11.98 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.1236, allocations: 0 / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1237, allocations: 7.984 kB / 0.5645 GB, free: 4.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.1237, allocations: 87.28 kB / 0.5646 GB, free: 3.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.1237, allocations: 0 / 0.5646 GB, free: 3.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1239, allocations: 15.94 kB / 0.5646 GB, free: 3.953 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0003779/0.1243, allocations: 0.6555 MB / 0.5652 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1244, allocations: 47.97 kB / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1244, allocations: 4 kB / 0.5653 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.1245, allocations: 31.92 kB / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1246, allocations: 4 kB / 0.5653 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.1256, allocations: 1.234 MB / 0.5665 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.1258, allocations: 0.6848 MB / 0.5672 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.1258, allocations: 8 kB / 0.5672 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1259, allocations: 15.42 kB / 0.5672 GB, free: 1.133 MB / 430.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1259, allocations: 4 kB / 0.5672 GB, free: 1.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3486/0.4745, allocations: 1.413 MB / 0.5686 GB, free: 15.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.4747, allocations: 223.4 kB / 0.5688 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.127, allocations: 0 / 0.5688 GB, free: 15.66 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)