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.001272/0.001272, allocations: 110.2 kB / 19.69 MB, free: 2.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.001492/0.001492, allocations: 216.3 kB / 23.01 MB, free: 4.566 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.00244/0.00244, allocations: 275.6 kB / 313.5 MB, free: 2.855 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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: 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.002796/0.002796, allocations: 105 kB / 0.7408 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1797, allocations: 95.37 MB / 0.8339 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.002045/0.1817, allocations: 0.6133 MB / 0.8345 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 4.351e-05/0.1818, allocations: 0 / 0.8345 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.1818, allocations: 0 / 0.8345 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.1818, allocations: 0 / 0.8345 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.1818, allocations: 4 kB / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.216e-05/0.1819, allocations: 4 kB / 0.8345 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.1819, allocations: 4 kB / 0.8345 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.182, allocations: 4.406 kB / 0.8345 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.182, allocations: 7.922 kB / 0.8345 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.959e-05/0.182, allocations: 0 / 0.8345 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.182, allocations: 4 kB / 0.8345 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-06/0.182, allocations: 0 / 0.8345 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.182, allocations: 0 / 0.8345 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1821, allocations: 0 / 0.8345 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.619e-05/0.1821, allocations: 3.984 kB / 0.8346 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1821, allocations: 0 / 0.8346 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1821, allocations: 0 / 0.8346 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1821, allocations: 0 / 0.8346 GB, free: 7.543 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.0002813/0.1824, allocations: 238.5 kB / 0.8348 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1825, allocations: 9.344 kB / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.1825, allocations: 4.938 kB / 0.8348 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.1826, allocations: 114.4 kB / 0.8349 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1826, allocations: 384 / 0.8349 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.1826, allocations: 384 / 0.8349 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.1827, allocations: 34.25 kB / 0.8349 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1827, allocations: 192 / 0.8349 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1827, allocations: 7.938 kB / 0.8349 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1827, allocations: 0 / 0.8349 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.1827, allocations: 0 / 0.8349 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1829, allocations: 120.8 kB / 0.8351 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.1829, allocations: 22.45 kB / 0.8351 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.1829, allocations: 8.953 kB / 0.8351 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.183, allocations: 0 / 0.8351 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.183, allocations: 38.55 kB / 0.8351 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.183, allocations: 0 / 0.8351 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.1831, allocations: 41.58 kB / 0.8352 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1832, allocations: 51.41 kB / 0.8352 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.1832, allocations: 89.86 kB / 0.8353 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1832, allocations: 25.7 kB / 0.8353 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.1833, allocations: 84.14 kB / 0.8354 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.1833, allocations: 3.938 kB / 0.8354 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.1833, allocations: 13.84 kB / 0.8354 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1835, allocations: 314.8 kB / 0.8357 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.1835, allocations: 4 kB / 0.8357 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.1835, allocations: 0 / 0.8357 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.1835, allocations: 12.84 kB / 0.8357 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1835, allocations: 0 / 0.8357 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.101e-05/0.1836, allocations: 29.7 kB / 0.8358 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1836, allocations: 4.094 kB / 0.8358 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1836, allocations: 4 kB / 0.8358 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1836, allocations: 7.922 kB / 0.8358 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.1837, allocations: 4 kB / 0.8358 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1837, allocations: 3.938 kB / 0.8358 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-06/0.1837, allocations: 0 / 0.8358 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1837, allocations: 0 / 0.8358 GB, free: 6.09 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 8.395e-05/0.1838, allocations: 110.5 kB / 0.8359 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.1838, allocations: 7.984 kB / 0.8359 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.1838, allocations: 10.94 kB / 0.8359 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1838, allocations: 0 / 0.8359 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1838, allocations: 0 / 0.8359 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1838, allocations: 0 / 0.8359 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.1839, allocations: 112.8 kB / 0.836 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1839, allocations: 4 kB / 0.836 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.1839, allocations: 0 / 0.836 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1839, allocations: 4 kB / 0.836 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1839, allocations: 3.938 kB / 0.836 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1839, allocations: 7.922 kB / 0.836 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1839, allocations: 0 / 0.836 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.222e-05/0.184, allocations: 61.14 kB / 0.8361 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.184, allocations: 0 / 0.8361 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.184, allocations: 7.875 kB / 0.8361 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-06/0.184, allocations: 0 / 0.8361 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.184, allocations: 4 kB / 0.8361 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.184, allocations: 3.984 kB / 0.8361 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.1841, allocations: 75.28 kB / 0.8362 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1841, allocations: 4.031 kB / 0.8362 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001765/0.1842, allocations: 0 / 0.8362 GB, free: 5.609 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.0001088/0.1843, allocations: 95.19 kB / 0.8363 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.263e-05/0.1844, allocations: 8 kB / 0.8363 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1844, allocations: 0 / 0.8363 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.1844, allocations: 4 kB / 0.8363 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1846, allocations: 0 / 0.8363 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.1848, allocations: 106.8 kB / 0.8364 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1851, allocations: 0.6729 MB / 0.837 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.1851, allocations: 7.438 kB / 0.8371 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1851, allocations: 0 / 0.8371 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.001639/0.1868, allocations: 323.9 kB / 0.8374 GB, free: 4.332 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: 7.835190358106047] Failed to read output from testmodel.py, exit status != 0: 0.19396048202179372 0.208946439 0.023902884000000003 Calling exit ...