Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007965/0.007965, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001551/0.001551, allocations: 197.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.767/1.767, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.89 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2616, allocations: 104.7 MB / 0.8281 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00294/0.2645, allocations: 1.415 MB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.265, allocations: 148.8 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.265, allocations: 0 / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.2651, allocations: 3.938 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.2652, allocations: 3.938 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.2654, allocations: 23.95 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2655, allocations: 43.86 kB / 0.8297 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2657, allocations: 15.98 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.2658, allocations: 15.94 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.2658, allocations: 23.91 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2659, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.2659, allocations: 4 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.2659, allocations: 11.92 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.266, allocations: 23.86 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.2661, allocations: 39.81 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2661, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2661, allocations: 0 / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.2661, allocations: 0 / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008109/0.2669, allocations: 387.3 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.267, allocations: 8.031 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.267, allocations: 8.922 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.2672, allocations: 172.2 kB / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2673, allocations: 8.312 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2673, allocations: 8.359 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.2675, allocations: 62.23 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2675, allocations: 8.109 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2675, allocations: 3.938 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2676, allocations: 7.938 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2677, allocations: 39.97 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.2683, allocations: 296.7 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.2685, allocations: 54.59 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.2686, allocations: 28.89 kB / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2687, allocations: 0 / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2687, allocations: 34.56 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2687, allocations: 0 / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003891/0.2691, allocations: 89.64 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2692, allocations: 51.41 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2693, allocations: 121.8 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2693, allocations: 25.7 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.2694, allocations: 88.14 kB / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2694, allocations: 15.75 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2695, allocations: 13.72 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2696, allocations: 326.8 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.2697, allocations: 19.98 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.2698, allocations: 23.97 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2699, allocations: 36.83 kB / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2699, allocations: 0 / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001919/0.2701, allocations: 85.59 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2702, allocations: 6.812 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2702, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2702, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.2703, allocations: 11.98 kB / 0.8318 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2703, allocations: 0 / 0.8318 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2704, allocations: 23.97 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2704, allocations: 4.375 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.144e-05/0.2705, allocations: 113.8 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.2705, allocations: 7.906 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.2708, allocations: 81.88 kB / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2708, allocations: 7.875 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2708, allocations: 0 / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2708, allocations: 4.031 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.271, allocations: 177.7 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.271, allocations: 3.938 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.2711, allocations: 11.98 kB / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2711, allocations: 0 / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.2711, allocations: 0 / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2711, allocations: 0 / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2711, allocations: 3.984 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.2713, allocations: 175.4 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.2714, allocations: 81.02 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2714, allocations: 4 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2716, allocations: 11.98 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.2716, allocations: 11.98 kB / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2716, allocations: 0 / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.2717, allocations: 95.2 kB / 0.8325 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2717, allocations: 4 kB / 0.8325 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000212/0.2719, allocations: 4 kB / 0.8325 GB, free: 11.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001896/0.2721, allocations: 99.25 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.2724, allocations: 47.95 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2724, allocations: 0 / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.774e-05/0.2725, allocations: 23.97 kB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2728, allocations: 15.94 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.2732, allocations: 125.6 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2735, allocations: 0.6844 MB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.2735, allocations: 3.984 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.2736, allocations: 11.44 kB / 0.8335 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2736, allocations: 0 / 0.8335 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.003199/0.2768, allocations: 0.8176 MB / 0.8343 GB, free: 9.391 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)