Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01016/0.01016, allocations: 169.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 12.42 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3166, allocations: 162.1 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.001911/0.3185, allocations: 1.498 MB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3198, allocations: 0.8145 MB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.3199, allocations: 0 / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.32, allocations: 11.88 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.3202, allocations: 39.75 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.3206, allocations: 147.1 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3209, allocations: 195.5 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.321, allocations: 33.42 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3211, allocations: 71.75 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3213, allocations: 63.73 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.3213, allocations: 11.94 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.3214, allocations: 15.98 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.3215, allocations: 19.92 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.3216, allocations: 89.36 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3218, allocations: 195.6 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3218, allocations: 4 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3218, allocations: 0 / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3218, allocations: 0 / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007178/0.3225, allocations: 446.2 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3226, allocations: 8.031 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3226, allocations: 20.75 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3229, allocations: 244.7 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.323, allocations: 4.375 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.323, allocations: 12.38 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3232, allocations: 97.84 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.3232, allocations: 0 / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3232, allocations: 4 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.3232, allocations: 4 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3234, allocations: 51.97 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.324, allocations: 452.5 kB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3242, allocations: 86.62 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.3242, allocations: 32.8 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.3243, allocations: 0 / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3244, allocations: 87.38 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3244, allocations: 0 / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002761/0.3247, allocations: 137.3 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3247, allocations: 55.41 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3249, allocations: 179.4 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.325, allocations: 33.7 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.325, allocations: 108 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3251, allocations: 27.56 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.3251, allocations: 25.7 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3252, allocations: 326.8 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3254, allocations: 51.97 kB / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.3255, allocations: 78.48 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3257, allocations: 124.2 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3257, allocations: 0 / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.326, allocations: 215.1 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.326, allocations: 33.7 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.326, allocations: 3.984 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3261, allocations: 0 / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3262, allocations: 31.97 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3262, allocations: 3.938 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.3265, allocations: 47.94 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3265, allocations: 7.984 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,sta.y1_actual,y1.y,$PRE.y1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001058/0.3266, allocations: 133.8 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.3267, allocations: 7.906 kB / 1.08 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.3267, allocations: 17.39 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3267, allocations: 0 / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3267, allocations: 7.938 kB / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3267, allocations: 0 / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3269, allocations: 229.6 kB / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3269, allocations: 4 kB / 1.081 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.327, allocations: 7.984 kB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.327, allocations: 4 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.327, allocations: 4 kB / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.327, allocations: 0 / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.327, allocations: 3.938 kB / 1.081 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3273, allocations: 173.4 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.3274, allocations: 100.9 kB / 1.081 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3274, allocations: 8 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.3275, allocations: 11.98 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3276, allocations: 3.938 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3276, allocations: 7.984 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000134/0.3277, allocations: 136.8 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3277, allocations: 0 / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002281/0.328, allocations: 36.06 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (sta.fil.s[1],sta.fil.s[2]) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,y1.y,sta.y1_actual) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000137/0.3281, allocations: 107.2 kB / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3284, allocations: 175.3 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3284, allocations: 0 / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.3285, allocations: 35.98 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.3287, allocations: 23.98 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.3292, allocations: 344.7 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3295, allocations: 0.7161 MB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.3295, allocations: 20.86 kB / 1.082 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.3296, allocations: 11.44 kB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3296, allocations: 0 / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.004558/0.3342, allocations: 1.831 MB / 1.084 GB, free: 12.81 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1)