Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.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.001031/0.001031, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.002139/0.002139, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 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.002834/0.002834, allocations: 257.5 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.7762/0.7762, allocations: 138.4 MB / 402.2 MB, free: 0.5195 MB / 362.7 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.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 462.3 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.944e-05, allocations: 4.703 kB / 462.3 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003062/0.003081, allocations: 2.538 MB / 464.8 MB, free: 15.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004716, allocations: 0.9568 MB / 465.8 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.004934, allocations: 15.97 kB / 465.8 MB, free: 14.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.00511, allocations: 60.89 kB / 465.9 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.005247, allocations: 65.5 kB / 465.9 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.005722, allocations: 247.6 kB / 466.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.006142, allocations: 455.1 kB / 466.6 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.006366, allocations: 149.4 kB / 466.7 MB, free: 13.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.006621, allocations: 226.1 kB / 467 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.006761, allocations: 114.9 kB / 467.1 MB, free: 13.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.006816, allocations: 51.09 kB / 467.1 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/0.006854, allocations: 52 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.006909, allocations: 86.62 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.006992, allocations: 115.7 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.007292, allocations: 293.2 kB / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.007294, allocations: 0 / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007295, allocations: 0 / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.007301, allocations: 0 / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005963/0.007897, allocations: 0.5551 MB / 468.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.007928, allocations: 12.75 kB / 468.2 MB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.00799, allocations: 49.38 kB / 468.3 MB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.008256, allocations: 251.5 kB / 468.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.008284, allocations: 25.75 kB / 468.6 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.008326, allocations: 33.3 kB / 468.6 MB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.008604, allocations: 292.8 kB / 468.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008614, allocations: 4.891 kB / 468.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.00863, allocations: 12.38 kB / 468.9 MB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.00864, allocations: 12.84 kB / 468.9 MB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.008734, allocations: 69.12 kB / 469 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/0.009498, allocations: 0.7374 MB / 469.7 MB, free: 11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.009642, allocations: 83.34 kB / 469.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.00968, allocations: 32.84 kB / 469.8 MB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.009698, allocations: 0.875 kB / 469.8 MB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.009719, allocations: 38.56 kB / 469.9 MB, free: 10.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.009721, allocations: 1.094 kB / 469.9 MB, free: 10.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001794/0.0099, allocations: 108.1 kB / 470 MB, free: 10.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.00994, allocations: 106.8 kB / 470.1 MB, free: 10.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01008, allocations: 256.3 kB / 470.3 MB, free: 10.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.0101, allocations: 25.7 kB / 470.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.01017, allocations: 177.2 kB / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.0102, allocations: 56.31 kB / 470.6 MB, free: 10.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.01025, allocations: 41.67 kB / 470.6 MB, free: 10.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.01034, allocations: 344.4 kB / 470.9 MB, free: 9.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.01037, allocations: 20.84 kB / 471 MB, free: 9.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.01044, allocations: 108.7 kB / 471.1 MB, free: 9.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.01052, allocations: 76.61 kB / 471.1 MB, free: 9.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01052, allocations: 0.6875 kB / 471.1 MB, free: 9.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001226/0.01065, allocations: 115.5 kB / 471.3 MB, free: 9.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.01066, allocations: 4 kB / 471.3 MB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01066, allocations: 4 kB / 471.3 MB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.01067, allocations: 0.5312 kB / 471.3 MB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.01077, allocations: 32.42 kB / 471.3 MB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.01077, allocations: 2.219 kB / 471.3 MB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.01083, allocations: 17.52 kB / 471.3 MB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01084, allocations: 4 kB / 471.3 MB, free: 9.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.163e-05/0.01091, allocations: 104.1 kB / 471.4 MB, free: 9.152 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.088e-05/0.01097, allocations: 106.4 kB / 471.5 MB, free: 9.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.541e-05/0.01104, allocations: 76.95 kB / 471.6 MB, free: 8.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.01104, allocations: 5.031 kB / 471.6 MB, free: 8.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001054/0.01114, allocations: 111.2 kB / 471.7 MB, free: 8.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-06/0.01115, allocations: 4.875 kB / 471.7 MB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.01115, allocations: 0 / 471.7 MB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.01115, allocations: 5.406 kB / 471.7 MB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.01122, allocations: 23.98 kB / 471.8 MB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.01122, allocations: 4 kB / 471.8 MB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.01128, allocations: 19.89 kB / 471.8 MB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.01128, allocations: 0.5 kB / 471.8 MB, free: 8.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.158e-05/0.01136, allocations: 198.4 kB / 472 MB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.01139, allocations: 23.92 kB / 472 MB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.01143, allocations: 30.19 kB / 472 MB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01143, allocations: 4 kB / 472 MB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01144, allocations: 1.125 kB / 472 MB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01144, allocations: 0 / 472 MB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.01162, allocations: 198.5 kB / 472.2 MB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01162, allocations: 3.984 kB / 472.2 MB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.0117, allocations: 24.72 kB / 472.3 MB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.0117, allocations: 3.938 kB / 472.3 MB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.01171, allocations: 1 kB / 472.3 MB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01171, allocations: 4.547 kB / 472.3 MB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01172, allocations: 0 / 472.3 MB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.0119, allocations: 221 kB / 472.5 MB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.01194, allocations: 23.81 kB / 472.5 MB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01196, allocations: 11.94 kB / 472.5 MB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.01203, allocations: 12.55 kB / 472.5 MB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.01206, allocations: 8.984 kB / 472.5 MB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.01206, allocations: 7.938 kB / 472.5 MB, free: 7.977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.626e-05/0.01213, allocations: 89.16 kB / 472.6 MB, free: 7.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01213, allocations: 0 / 472.6 MB, free: 7.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01233, allocations: 104.6 kB / 472.7 MB, free: 7.789 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.914e-05/0.01242, allocations: 90.22 kB / 472.8 MB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.01259, allocations: 122.7 kB / 472.9 MB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.0126, allocations: 0 / 472.9 MB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.01264, allocations: 42.47 kB / 473 MB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01289, allocations: 73.55 kB / 473 MB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.01347, allocations: 0.4978 MB / 473.5 MB, free: 6.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.01352, allocations: 84.31 kB / 473.6 MB, free: 6.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.01361, allocations: 27.25 kB / 473.7 MB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01373, allocations: 99.34 kB / 473.8 MB, free: 6.715 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01373, allocations: 1.031 kB / 473.8 MB, free: 6.715 MB / 426.7 MB Notification: Performance of Templates: time 0.005097/0.01883, allocations: 3.249 MB / 477 MB, free: 3.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6746803163550794]