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.001543/0.001543, allocations: 78.5 kB / 19.01 MB, free: 2.859 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.001684/0.001684, allocations: 155.2 kB / 22.25 MB, free: 5.121 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.359/1.359, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 179] 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.002729/0.002729, allocations: 223.1 kB / 259.2 MB, free: 0.6016 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.01/1.01, allocations: 138.5 MB / 454.2 MB, free: 2.086 MB / 366.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: translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [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.002854/0.002854, allocations: 99.84 kB / 0.6466 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3738, allocations: 95.34 MB / 0.7397 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001813/0.3756, allocations: 0.6104 MB / 0.7403 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 3.288e-05/0.3756, allocations: 3.938 kB / 0.7403 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.3756, allocations: 0 / 0.7403 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.3757, allocations: 0 / 0.7403 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.3757, allocations: 0 / 0.7403 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.461e-05/0.3757, allocations: 8 kB / 0.7403 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.3757, allocations: 4 kB / 0.7403 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.3758, allocations: 0 / 0.7403 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.3758, allocations: 0 / 0.7403 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.3758, allocations: 0 / 0.7403 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3758, allocations: 4 kB / 0.7403 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.3758, allocations: 0 / 0.7403 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3759, allocations: 7.922 kB / 0.7403 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.3759, allocations: 3.984 kB / 0.7403 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 4.381e-05/0.3759, allocations: 0 / 0.7403 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3759, allocations: 0 / 0.7403 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3759, allocations: 4 kB / 0.7403 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3759, allocations: 0 / 0.7403 GB, free: 14.62 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.0002795/0.3762, allocations: 238.4 kB / 0.7405 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3762, allocations: 13.94 kB / 0.7405 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.3763, allocations: 0.9375 kB / 0.7405 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.285e-05/0.3764, allocations: 106.5 kB / 0.7406 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.3764, allocations: 4.312 kB / 0.7406 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3764, allocations: 384 / 0.7406 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.3765, allocations: 30.27 kB / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3765, allocations: 192 / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3765, allocations: 3.938 kB / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3765, allocations: 4 kB / 0.7407 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.358e-05/0.3765, allocations: 0 / 0.7407 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.3766, allocations: 101.3 kB / 0.7408 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.3767, allocations: 18.52 kB / 0.7408 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.3767, allocations: 8.953 kB / 0.7408 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-06/0.3767, allocations: 3.938 kB / 0.7408 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3767, allocations: 30.56 kB / 0.7408 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3767, allocations: 0 / 0.7408 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001162/0.3768, allocations: 45.62 kB / 0.7409 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3769, allocations: 55.53 kB / 0.7409 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.3769, allocations: 89.86 kB / 0.741 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3769, allocations: 25.7 kB / 0.741 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.377, allocations: 80.14 kB / 0.7411 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.377, allocations: 0 / 0.7411 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.377, allocations: 17.66 kB / 0.7411 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3771, allocations: 314.8 kB / 0.7414 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.3772, allocations: 0 / 0.7414 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.3772, allocations: 4 kB / 0.7414 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.3772, allocations: 12.84 kB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3772, allocations: 4.062 kB / 0.7415 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.764e-05/0.3772, allocations: 33.7 kB / 0.7415 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.3772, allocations: 4 kB / 0.7415 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3773, allocations: 0 / 0.7415 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3773, allocations: 0 / 0.7415 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.3773, allocations: 7.938 kB / 0.7415 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3773, allocations: 0 / 0.7415 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.3773, allocations: 3.938 kB / 0.7415 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3773, allocations: 3.984 kB / 0.7415 GB, free: 13.21 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 7.401e-05/0.3774, allocations: 109.9 kB / 0.7416 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-06/0.3774, allocations: 0 / 0.7416 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.3774, allocations: 14.98 kB / 0.7416 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3774, allocations: 3.938 kB / 0.7416 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3774, allocations: 0 / 0.7416 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3774, allocations: 7.984 kB / 0.7416 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.575e-05/0.3775, allocations: 93.33 kB / 0.7417 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3775, allocations: 0 / 0.7417 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.3775, allocations: 4 kB / 0.7417 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3775, allocations: 0 / 0.7417 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.3775, allocations: 0 / 0.7417 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3775, allocations: 4 kB / 0.7417 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3775, allocations: 3.938 kB / 0.7417 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/0.3776, allocations: 65.12 kB / 0.7418 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-06/0.3776, allocations: 0 / 0.7418 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.3776, allocations: 0 / 0.7418 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.3776, allocations: 0 / 0.7418 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.3776, allocations: 11.88 kB / 0.7418 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.3776, allocations: 0 / 0.7418 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.3777, allocations: 79.22 kB / 0.7419 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3777, allocations: 0 / 0.7419 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001915/0.3779, allocations: 0 / 0.7419 GB, free: 12.76 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 8.947e-05/0.378, allocations: 103.2 kB / 0.742 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.378, allocations: 4 kB / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.378, allocations: 0 / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-06/0.378, allocations: 4 kB / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.3781, allocations: 3.125 kB / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.3783, allocations: 84.61 kB / 0.7421 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.715e-05/0.3784, allocations: 59.3 kB / 0.7421 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.3784, allocations: 3.984 kB / 0.7421 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.3784, allocations: 12.62 kB / 0.7422 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.3784, allocations: 0 / 0.7422 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of Templates: time 0.001983/0.3804, allocations: 164.6 kB / 0.7423 GB, free: 12.28 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.480818837881088] Failed to read output from testmodel.py, exit status != 0: 0.3881553914397955 0.401701429 0.022904961 Calling exit ...