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.001821/0.001821, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002309/0.002309, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.627/1.627, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 1.079/1.079, allocations: 149.9 MB / 463.1 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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: 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.002379/0.002379, allocations: 63.03 kB / 0.641 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1739, allocations: 89.18 MB / 0.7281 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.00234/0.1762, allocations: 0.5844 MB / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 6.44e-05/0.1763, allocations: 0 / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.1763, allocations: 0 / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.1763, allocations: 0 / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.1763, allocations: 0 / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.543e-05/0.1764, allocations: 11.94 kB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.1764, allocations: 0 / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.1765, allocations: 4 kB / 0.7287 GB, free: 480 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.1765, allocations: 3.984 kB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/0.1765, allocations: 0 / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1766, allocations: 0 / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.1766, allocations: 3.938 kB / 0.7287 GB, free: 472 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.1766, allocations: 0 / 0.7287 GB, free: 472 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.1766, allocations: 0 / 0.7287 GB, free: 472 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.871e-05/0.1766, allocations: 0 / 0.7287 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1767, allocations: 4 kB / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1767, allocations: 7.938 kB / 0.7287 GB, free: 460 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.1767, allocations: 3.984 kB / 0.7287 GB, free: 456 kB / 0.545 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.0003138/0.177, allocations: 234.8 kB / 0.729 GB, free: 188 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.177, allocations: 8.031 kB / 0.729 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.1771, allocations: 30.75 kB / 0.729 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1771, allocations: 0.9375 kB / 0.729 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1772, allocations: 106.5 kB / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1772, allocations: 384 / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1772, allocations: 384 / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1773, allocations: 30.25 kB / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1773, allocations: 3.938 kB / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1773, allocations: 11.94 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1774, allocations: 4 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.1774, allocations: 3.938 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1775, allocations: 120.7 kB / 0.7293 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.67e-05/0.1776, allocations: 18.61 kB / 0.7293 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.1776, allocations: 4.922 kB / 0.7293 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1776, allocations: 4 kB / 0.7293 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1776, allocations: 34.56 kB / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1776, allocations: 0 / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1778, allocations: 45.56 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1778, allocations: 51.41 kB / 0.7294 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.1779, allocations: 89.86 kB / 0.7295 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1779, allocations: 29.7 kB / 0.7295 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.1779, allocations: 80.14 kB / 0.7296 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.178, allocations: 3.953 kB / 0.7296 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.178, allocations: 9.719 kB / 0.7296 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1781, allocations: 318.8 kB / 0.7299 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.1781, allocations: 0 / 0.7299 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.1781, allocations: 0 / 0.7299 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.1782, allocations: 13.05 kB / 0.7299 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1782, allocations: 0 / 0.7299 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.291e-05/0.1782, allocations: 37.62 kB / 0.73 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1783, allocations: 8 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1783, allocations: 3.938 kB / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1783, allocations: 0 / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.1783, allocations: 0 / 0.73 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1784, allocations: 3.984 kB / 0.73 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.1784, allocations: 0 / 0.73 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1784, allocations: 4 kB / 0.73 GB, free: 14.96 MB / 0.5606 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.165e-05/0.1785, allocations: 113.9 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.1785, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.1785, allocations: 14.86 kB / 0.7301 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1785, allocations: 0 / 0.7301 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1785, allocations: 0 / 0.7301 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1785, allocations: 4 kB / 0.7301 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.081e-05/0.1786, allocations: 112.8 kB / 0.7302 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1786, allocations: 3.938 kB / 0.7302 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.1786, allocations: 0 / 0.7302 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1786, allocations: 4 kB / 0.7302 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1786, allocations: 7.938 kB / 0.7302 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1786, allocations: 0 / 0.7302 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1786, allocations: 0 / 0.7302 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/0.1787, allocations: 65.06 kB / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-06/0.1787, allocations: 0 / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1787, allocations: 3.938 kB / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.1787, allocations: 0 / 0.7303 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1787, allocations: 7.984 kB / 0.7303 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.1787, allocations: 0 / 0.7303 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.1788, allocations: 79.28 kB / 0.7304 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1788, allocations: 0 / 0.7304 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001832/0.1789, allocations: 4.031 kB / 0.7304 GB, free: 14.48 MB / 0.5606 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.0003872/0.1793, allocations: 0.5928 MB / 0.731 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.1794, allocations: 8 kB / 0.731 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.1794, allocations: 0 / 0.731 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.76e-06/0.1794, allocations: 0 / 0.731 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1795, allocations: 5.859 kB / 0.731 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.1799, allocations: 110.6 kB / 0.7311 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.1799, allocations: 59.52 kB / 0.7312 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.1799, allocations: 0 / 0.7312 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.18, allocations: 7.438 kB / 0.7312 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.18, allocations: 3.938 kB / 0.7312 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.2084, allocations: 1.379 MB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.25, allocations: 8.984 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.378836998715997] Failed to read output from testmodel.py, exit status != 0: 11.349803683813661 11.365449805999999 11.18566166 Calling exit ...