Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001941/0.001941, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002513/0.002513, allocations: 289.1 kB / 312.7 MB, free: 2.562 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002915/0.002915, allocations: 103.5 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1792, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001747/0.181, allocations: 0.6113 MB / 0.8332 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 3.048e-05/0.181, allocations: 0 / 0.8332 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.181, allocations: 3.938 kB / 0.8332 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.1811, allocations: 0 / 0.8332 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.1811, allocations: 0 / 0.8332 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.329e-05/0.1811, allocations: 4 kB / 0.8332 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.617e-05/0.1812, allocations: 0 / 0.8332 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.1812, allocations: 4.406 kB / 0.8332 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.037e-05/0.1812, allocations: 4 kB / 0.8332 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.839e-05/0.1812, allocations: 3.984 kB / 0.8332 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1812, allocations: 0 / 0.8332 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.436e-06/0.1812, allocations: 0 / 0.8332 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.1813, allocations: 3.938 kB / 0.8332 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.1813, allocations: 3.984 kB / 0.8332 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.301e-05/0.1813, allocations: 0 / 0.8332 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1813, allocations: 4 kB / 0.8332 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1813, allocations: 0 / 0.8332 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1813, allocations: 0 / 0.8332 GB, free: 7.695 MB / 0.5762 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.0002774/0.1816, allocations: 238.7 kB / 0.8335 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1817, allocations: 13.34 kB / 0.8335 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.1817, allocations: 30.75 kB / 0.8335 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.672e-05/0.1817, allocations: 0.9375 kB / 0.8335 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.1818, allocations: 118.5 kB / 0.8336 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1818, allocations: 4.359 kB / 0.8336 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1818, allocations: 384 / 0.8336 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.937e-05/0.1819, allocations: 30.2 kB / 0.8337 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1819, allocations: 3.938 kB / 0.8337 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1819, allocations: 4 kB / 0.8337 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1819, allocations: 4 kB / 0.8337 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.182, allocations: 0 / 0.8337 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.1821, allocations: 120.8 kB / 0.8338 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.1822, allocations: 18.61 kB / 0.8338 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.1822, allocations: 8.906 kB / 0.8338 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.1822, allocations: 7.938 kB / 0.8338 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1822, allocations: 30.56 kB / 0.8338 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1822, allocations: 0 / 0.8338 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.1824, allocations: 37.64 kB / 0.8339 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1824, allocations: 51.41 kB / 0.8339 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.1825, allocations: 93.86 kB / 0.834 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1825, allocations: 33.77 kB / 0.834 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.1825, allocations: 80.14 kB / 0.8341 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1826, allocations: 3.938 kB / 0.8341 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.1826, allocations: 9.719 kB / 0.8341 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1828, allocations: 322.8 kB / 0.8344 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.1828, allocations: 0 / 0.8344 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-06/0.1828, allocations: 3.938 kB / 0.8345 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.1828, allocations: 8.859 kB / 0.8345 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1828, allocations: 0 / 0.8345 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.845e-05/0.1828, allocations: 33.77 kB / 0.8345 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1829, allocations: 8 kB / 0.8345 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1829, allocations: 3.938 kB / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1829, allocations: 0 / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.1829, allocations: 0 / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1829, allocations: 0 / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.1829, allocations: 0 / 0.8345 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.183, allocations: 4 kB / 0.8345 GB, free: 6.199 MB / 0.5762 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 9.498e-05/0.183, allocations: 117.5 kB / 0.8346 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-06/0.1831, allocations: 3.938 kB / 0.8346 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.1831, allocations: 10.97 kB / 0.8346 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1831, allocations: 0 / 0.8346 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1831, allocations: 0 / 0.8346 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1831, allocations: 4 kB / 0.8346 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.1832, allocations: 112.8 kB / 0.8347 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1832, allocations: 0 / 0.8347 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-06/0.1832, allocations: 0 / 0.8347 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.1832, allocations: 7.984 kB / 0.8348 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1832, allocations: 3.938 kB / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1832, allocations: 0 / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1832, allocations: 0 / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.506e-05/0.1833, allocations: 61.14 kB / 0.8348 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.1833, allocations: 0 / 0.8348 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1833, allocations: 3.938 kB / 0.8348 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-06/0.1833, allocations: 0 / 0.8348 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.1833, allocations: 7.984 kB / 0.8348 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.1833, allocations: 0 / 0.8348 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.1834, allocations: 83.22 kB / 0.8349 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1834, allocations: 0 / 0.8349 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000185/0.1835, allocations: 3.938 kB / 0.8349 GB, free: 5.719 MB / 0.5762 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.0004007/0.1839, allocations: 0.593 MB / 0.8355 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.184, allocations: 11.94 kB / 0.8355 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.184, allocations: 0 / 0.8355 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.184, allocations: 3.938 kB / 0.8355 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1842, allocations: 5.875 kB / 0.8355 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.1844, allocations: 94.73 kB / 0.8356 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.1845, allocations: 55.36 kB / 0.8357 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.241e-05/0.1845, allocations: 3.984 kB / 0.8357 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.1845, allocations: 7.438 kB / 0.8357 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1845, allocations: 4.125 kB / 0.8357 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.2108, allocations: 1.396 MB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.35, allocations: 6.375 kB / 0.837 GB, free: 3.578 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.74305328214541] Failed to read output from testmodel.py, exit status != 0: 11.452190001960844 11.475953937 11.288468658 Calling exit ...