Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 122.8 kB / 17.84 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 198.3 kB / 20.79 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9866/0.9866, allocations: 150 MB / 460.2 MB, free: 5.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 65.25 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1549, allocations: 89.14 MB / 0.7238 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001907/0.1568, allocations: 0.5685 MB / 0.7244 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.036e-05/0.1568, allocations: 3.984 kB / 0.7244 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.1568, allocations: 3.938 kB / 0.7244 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.1569, allocations: 0 / 0.7244 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.1569, allocations: 8 kB / 0.7244 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.824e-05/0.1569, allocations: 4 kB / 0.7244 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.157, allocations: 0 / 0.7244 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.157, allocations: 0 / 0.7244 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.157, allocations: 0 / 0.7244 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.1571, allocations: 0 / 0.7244 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1571, allocations: 4 kB / 0.7244 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-06/0.1571, allocations: 0 / 0.7244 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1571, allocations: 0 / 0.7244 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.1571, allocations: 0 / 0.7244 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.1572, allocations: 3.984 kB / 0.7244 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1572, allocations: 4 kB / 0.7244 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1572, allocations: 0 / 0.7244 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1572, allocations: 0 / 0.7244 GB, free: 3.445 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003496/0.1575, allocations: 311.9 kB / 0.7247 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1576, allocations: 11.97 kB / 0.7247 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.305e-05/0.1576, allocations: 192 / 0.7247 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1576, allocations: 38.73 kB / 0.7247 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.875e-05/0.1576, allocations: 0.9375 kB / 0.7247 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1578, allocations: 168.3 kB / 0.7249 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1578, allocations: 4.375 kB / 0.7249 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.1578, allocations: 4.312 kB / 0.7249 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1579, allocations: 34.02 kB / 0.7249 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1579, allocations: 0 / 0.7249 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1579, allocations: 0 / 0.7249 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1579, allocations: 0 / 0.7249 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.1579, allocations: 0 / 0.7249 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.1581, allocations: 145.7 kB / 0.7251 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.1581, allocations: 22.61 kB / 0.7251 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.1582, allocations: 12.78 kB / 0.7251 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1582, allocations: 4.062 kB / 0.7251 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1582, allocations: 34.5 kB / 0.7252 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1582, allocations: 0 / 0.7252 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.1584, allocations: 33.7 kB / 0.7252 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.1584, allocations: 55.47 kB / 0.7252 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.1585, allocations: 93.86 kB / 0.7253 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1585, allocations: 25.7 kB / 0.7254 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1585, allocations: 80.14 kB / 0.7254 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1586, allocations: 7.953 kB / 0.7254 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1586, allocations: 9.719 kB / 0.7255 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1587, allocations: 319.2 kB / 0.7258 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.1588, allocations: 7.938 kB / 0.7258 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.1588, allocations: 4 kB / 0.7258 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.1588, allocations: 8.922 kB / 0.7258 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1588, allocations: 0 / 0.7258 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.944e-05/0.1589, allocations: 33.7 kB / 0.7258 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1589, allocations: 7.938 kB / 0.7258 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1589, allocations: 0 / 0.7258 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1589, allocations: 0 / 0.7258 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.1589, allocations: 4 kB / 0.7258 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1589, allocations: 0 / 0.7258 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.159, allocations: 3.969 kB / 0.7258 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.159, allocations: 11.97 kB / 0.7258 GB, free: 1.742 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.638e-05/0.1591, allocations: 113.8 kB / 0.7259 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.1591, allocations: 3.938 kB / 0.7259 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.1591, allocations: 7.125 kB / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1591, allocations: 0 / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1591, allocations: 0 / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1591, allocations: 0 / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1592, allocations: 149.7 kB / 0.7261 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1592, allocations: 0 / 0.7261 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.1592, allocations: 8 kB / 0.7261 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1592, allocations: 3.938 kB / 0.7261 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.1592, allocations: 0 / 0.7261 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1592, allocations: 0 / 0.7261 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1592, allocations: 0 / 0.7261 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.1593, allocations: 57.14 kB / 0.7262 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.1594, allocations: 81.09 kB / 0.7262 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1594, allocations: 3.938 kB / 0.7262 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-06/0.1594, allocations: 4.031 kB / 0.7262 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.1594, allocations: 0 / 0.7262 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1594, allocations: 3.938 kB / 0.7262 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.1594, allocations: 75.28 kB / 0.7263 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1594, allocations: 0 / 0.7263 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001926/0.1596, allocations: 4 kB / 0.7263 GB, free: 1.141 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0004178/0.16, allocations: 0.5968 MB / 0.7269 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.1601, allocations: 8 kB / 0.7269 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1601, allocations: 0 / 0.7269 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.1601, allocations: 7.938 kB / 0.7269 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1603, allocations: 0 / 0.7269 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.1606, allocations: 106.7 kB / 0.727 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1609, allocations: 0.6768 MB / 0.7277 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.083e-05/0.1609, allocations: 4 kB / 0.7277 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.1609, allocations: 7.438 kB / 0.7277 GB, free: 15.64 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.161, allocations: 0 / 0.7277 GB, free: 15.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1795, allocations: 0.9212 MB / 0.7286 GB, free: 14.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.52, allocations: 5.531 kB / 0.7286 GB, free: 14.83 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.463604406977538] Failed to read output from testmodel.py, exit status != 0: 8.646130806999281 8.675049972 8.512889996 Calling exit ...