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.0008451/0.0008451, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009695/0.0009695, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9079/0.9079, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5623/0.5623, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.5541 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.615e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001786/0.001812, allocations: 0.5867 MB / 0.5547 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 4.652e-05/0.001858, allocations: 11.94 kB / 0.5547 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.001876, allocations: 0 / 0.5547 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.001906, allocations: 0 / 0.5547 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.001913, allocations: 0 / 0.5547 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.349e-05/0.001946, allocations: 0 / 0.5547 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.002002, allocations: 0 / 0.5547 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.002056, allocations: 7.984 kB / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.002087, allocations: 0 / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.137e-05/0.002108, allocations: 0 / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.002129, allocations: 0 / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-06/0.002132, allocations: 0 / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.002151, allocations: 4 kB / 0.5547 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.00217, allocations: 0 / 0.5547 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.871e-05/0.002229, allocations: 11.94 kB / 0.5548 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.002231, allocations: 0 / 0.5548 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.002232, allocations: 0 / 0.5548 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002236, allocations: 0 / 0.5548 GB, free: 2.184 MB / 0.5105 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.0002481/0.002484, allocations: 234.5 kB / 0.555 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.002528, allocations: 8.031 kB / 0.555 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.002564, allocations: 34.75 kB / 0.555 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.002586, allocations: 0.9375 kB / 0.555 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.788e-05/0.002654, allocations: 109.7 kB / 0.5551 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.002665, allocations: 4.375 kB / 0.5551 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.002675, allocations: 4.359 kB / 0.5551 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.002763, allocations: 30.27 kB / 0.5552 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.002773, allocations: 8.172 kB / 0.5552 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.002781, allocations: 384 / 0.5552 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.002787, allocations: 4.125 kB / 0.5552 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.002804, allocations: 0 / 0.5552 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.002929, allocations: 116.8 kB / 0.5553 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.002971, allocations: 18.52 kB / 0.5553 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.002995, allocations: 12.92 kB / 0.5553 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.003004, allocations: 7.938 kB / 0.5553 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.003025, allocations: 30.56 kB / 0.5554 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.003027, allocations: 0 / 0.5554 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.00316, allocations: 33.69 kB / 0.5554 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.003195, allocations: 55.34 kB / 0.5554 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.107e-05/0.003226, allocations: 93.86 kB / 0.5555 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.003238, allocations: 25.7 kB / 0.5556 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.00326, allocations: 80.14 kB / 0.5556 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.003286, allocations: 0 / 0.5556 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.003315, allocations: 17.66 kB / 0.5556 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.003408, allocations: 319 kB / 0.556 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.003417, allocations: 0 / 0.556 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.003422, allocations: 0 / 0.556 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.003449, allocations: 8.859 kB / 0.556 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003451, allocations: 0 / 0.556 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.28e-05/0.003504, allocations: 37.69 kB / 0.556 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.003519, allocations: 11.94 kB / 0.556 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.003524, allocations: 0 / 0.556 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.003536, allocations: 0 / 0.556 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.00359, allocations: 4.094 kB / 0.556 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.003598, allocations: 7.875 kB / 0.556 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.003607, allocations: 0 / 0.556 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.003611, allocations: 4 kB / 0.556 GB, free: 0.6914 MB / 0.5105 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 6.078e-05/0.003672, allocations: 105.8 kB / 0.5561 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.003679, allocations: 3.953 kB / 0.5561 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.003693, allocations: 3 kB / 0.5561 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.003695, allocations: 0 / 0.5561 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.003703, allocations: 11.92 kB / 0.5561 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.003706, allocations: 0 / 0.5561 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.704e-05/0.003773, allocations: 112.8 kB / 0.5563 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.003774, allocations: 4 kB / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.003786, allocations: 0 / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.003789, allocations: 4 kB / 0.5563 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.003794, allocations: 0 / 0.5563 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.003796, allocations: 4 kB / 0.5563 GB, free: 408 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.003798, allocations: 3.938 kB / 0.5563 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.143e-05/0.003859, allocations: 61.12 kB / 0.5563 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.003864, allocations: 0 / 0.5563 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.003874, allocations: 0 / 0.5563 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-06/0.00388, allocations: 3.938 kB / 0.5563 GB, free: 320 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.003893, allocations: 7.969 kB / 0.5563 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.003896, allocations: 4 kB / 0.5563 GB, free: 308 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.00392, allocations: 79.22 kB / 0.5564 GB, free: 228 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.00392, allocations: 0 / 0.5564 GB, free: 228 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001542/0.004074, allocations: 0 / 0.5564 GB, free: 228 kB / 0.5105 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.0002298/0.004304, allocations: 0.5852 MB / 0.557 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.686e-05/0.004361, allocations: 7.938 kB / 0.557 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004363, allocations: 0 / 0.557 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/0.004367, allocations: 8.094 kB / 0.557 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.445e-05/0.004461, allocations: 10.44 kB / 0.557 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.004678, allocations: 98.66 kB / 0.5571 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.004709, allocations: 55.36 kB / 0.5572 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.598e-06/0.004719, allocations: 3.938 kB / 0.5572 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.004737, allocations: 8.5 kB / 0.5572 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.004738, allocations: 0 / 0.5572 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.0188, allocations: 1.521 MB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.018, allocations: 12.8 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 9.590223816223443] Failed to read output from testmodel.py, exit status != 0: 7.09941126499325 7.109493196 7.105614264 Calling exit ...