Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.001895/0.001895, allocations: 80.45 kB / 19.95 MB, free: 4.605 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.001948/0.001948, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.621/1.621, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.217/3.217, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.838e-05/4.025e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.004261/0.004301, allocations: 1.767 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.005862, allocations: 0.6891 MB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005993, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.006157, allocations: 31.67 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.006242, allocations: 31.67 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.00705, allocations: 257.5 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.007806, allocations: 403.4 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.008153, allocations: 187.2 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.008472, allocations: 207.6 kB / 1.005 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.0087, allocations: 95.73 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.008787, allocations: 40 kB / 1.005 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.008941, allocations: 63.91 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.009058, allocations: 71.81 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.009231, allocations: 95.8 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.009983, allocations: 454.7 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.009991, allocations: 4 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.424e-06/0.009993, allocations: 0 / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.01, allocations: 0 / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001019/0.01102, allocations: 490.7 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.01107, allocations: 9.344 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.01137, allocations: 36.78 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.01173, allocations: 201.4 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.01178, allocations: 28.81 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.01184, allocations: 32.36 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.01235, allocations: 275.3 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01236, allocations: 192 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.01239, allocations: 8.375 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.0124, allocations: 4.375 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.01276, allocations: 189.8 kB / 1.007 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.01396, allocations: 0.7025 MB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.0143, allocations: 154.8 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01445, allocations: 80.83 kB / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01448, allocations: 0 / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.01479, allocations: 161 kB / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.01479, allocations: 0 / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27): time 0.0005639/0.01536, allocations: 267.6 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.01542, allocations: 59.41 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.01563, allocations: 157.7 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.01569, allocations: 49.69 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.01584, allocations: 136.8 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.01591, allocations: 63.47 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.01607, allocations: 97.66 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.01628, allocations: 326.8 kB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.01652, allocations: 129.7 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.01681, allocations: 196.5 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.0172, allocations: 242.9 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0172, allocations: 0 / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000667/0.01787, allocations: 397.9 kB / 1.01 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.01793, allocations: 37.7 kB / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01793, allocations: 0 / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.01796, allocations: 4 kB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.01811, allocations: 27.92 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.01812, allocations: 11.92 kB / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.01837, allocations: 51.97 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.01841, allocations: 19.94 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.sta.offToOn.enableFire,$PRE.sta.onToOff.enableFire,$whenCondition1,$whenCondition2,sta.onToOff.t_start,$PRE.sta.onToOff.t_start,sta.onToOff.fire,sta.onToOff.enableFire,sta.on.active,sta.on.oldActive,$PRE.sta.on.oldActive,sta.on.newActive,$PRE.sta.on.newActive,sta.on.localActive,$PRE.sta.on.localActive,sta.offToOn.t_start,$PRE.sta.offToOn.t_start,sta.offToOn.fire,sta.offToOn.enableFire,sta.off.active,sta.off.oldActive,$PRE.sta.off.oldActive,sta.off.newActive,$PRE.sta.off.newActive,sta.off.localActive,$PRE.sta.off.localActive,sta.stateGraphRoot.activeSteps,y1.y,$PRE.y1.y,$whenCondition3,$whenCondition4,sta.stateGraphRoot.resume,sta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002236/0.01863, allocations: 173.8 kB / 1.01 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.01865, allocations: 11.91 kB / 1.01 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.01872, allocations: 21.97 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.01872, allocations: 4 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.01873, allocations: 3.938 kB / 1.01 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01874, allocations: 3.984 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.0196, allocations: 0.5257 MB / 1.011 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.0196, allocations: 4 kB / 1.011 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.01968, allocations: 15.98 kB / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.01969, allocations: 3.938 kB / 1.011 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.01971, allocations: 8 kB / 1.011 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.01971, allocations: 3.938 kB / 1.011 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01972, allocations: 3.984 kB / 1.011 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.02013, allocations: 313.3 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.02016, allocations: 19.78 kB / 1.011 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.02035, allocations: 8 kB / 1.011 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.02044, allocations: 11.94 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.02053, allocations: 27.95 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.02054, allocations: 8 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.393e-05/0.02064, allocations: 105.6 kB / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02064, allocations: 0 / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000329/0.02096, allocations: 63.84 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (sta.offToOn.enableFire,sta.onToOff.enableFire,sta.on.active,sta.off.active,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,y1.y,sta.stateGraphRoot.activeSteps,sta.off.localActive,sta.off.newActive,sta.off.oldActive,sta.offToOn.fire,sta.offToOn.t_start,sta.on.localActive,sta.on.newActive,sta.on.oldActive,sta.onToOff.fire,sta.onToOff.t_start) * Number of discrete states: 2 (sta.off.newActive,sta.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002035/0.02117, allocations: 119.2 kB / 1.011 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.02171, allocations: 309.5 kB / 1.012 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02171, allocations: 0 / 1.012 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.02187, allocations: 75.92 kB / 1.012 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.0222, allocations: 31.88 kB / 1.012 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.02298, allocations: 395.2 kB / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.02314, allocations: 134 kB / 1.012 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.011e-05/0.02323, allocations: 21.95 kB / 1.012 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.0233, allocations: 32.48 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.0233, allocations: 0 / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of Templates: time 0.007517/0.03082, allocations: 2.747 MB / 1.015 GB, free: 14.58 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.235080394893885]