Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001717/0.001717, allocations: 105.7 kB / 16.35 MB, free: 5.879 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.00211/0.00211, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.571/1.571, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.898/1.898, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.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.001636/0.001636, allocations: 71.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2689, allocations: 114.5 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002382/0.2713, allocations: 0.7255 MB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2725, allocations: 0.8282 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.2726, allocations: 0 / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.2726, allocations: 7.875 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.2727, allocations: 3.938 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.2729, allocations: 15.97 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.273, allocations: 43.92 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2731, allocations: 19.97 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.2732, allocations: 11.94 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.2733, allocations: 27.91 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2733, allocations: 4 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2733, allocations: 4 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.2734, allocations: 4 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.2734, allocations: 19.86 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2735, allocations: 55.8 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2735, allocations: 0 / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2735, allocations: 3.938 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.2736, allocations: 0 / 0.7865 GB, free: 1.406 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.0007054/0.2743, allocations: 383.4 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2743, allocations: 8.031 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2744, allocations: 12.83 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2745, allocations: 164.3 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2745, allocations: 4.375 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.2746, allocations: 4.359 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2748, allocations: 66.23 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2748, allocations: 192 / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2748, allocations: 3.938 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2748, allocations: 7.984 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.275, allocations: 43.91 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.2756, allocations: 304.7 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.2759, allocations: 50.5 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.276, allocations: 28.98 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2761, allocations: 4 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2761, allocations: 38.5 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2761, allocations: 0 / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003715/0.2765, allocations: 93.55 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4068/0.6833, allocations: 51.41 kB / 0.7877 GB, free: 49.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.6834, allocations: 111.3 kB / 0.7878 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6834, allocations: 25.7 kB / 0.7879 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.6835, allocations: 94.64 kB / 0.788 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.6835, allocations: 3.875 kB / 0.788 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.6836, allocations: 19.09 kB / 0.788 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.6836, allocations: 314.8 kB / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.6837, allocations: 24.84 kB / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.6838, allocations: 22.09 kB / 0.7883 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.684, allocations: 46.84 kB / 0.7884 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.684, allocations: 0 / 0.7884 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001998/0.6842, allocations: 79.78 kB / 0.7884 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6842, allocations: 3.219 kB / 0.7884 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6842, allocations: 0 / 0.7884 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6843, allocations: 6.562 kB / 0.7884 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.6843, allocations: 12.69 kB / 0.7885 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6843, allocations: 0 / 0.7885 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.6845, allocations: 27.89 kB / 0.7885 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6845, allocations: 2.969 kB / 0.7885 GB, free: 48.9 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 6.213e-05/0.6845, allocations: 113.4 kB / 0.7886 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.6846, allocations: 2.594 kB / 0.7886 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.6848, allocations: 87.16 kB / 0.7887 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6848, allocations: 0 / 0.7887 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6848, allocations: 4.156 kB / 0.7887 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6849, allocations: 0 / 0.7887 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.685, allocations: 166.7 kB / 0.7888 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.685, allocations: 0 / 0.7888 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.6851, allocations: 13.7 kB / 0.7889 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.6851, allocations: 0 / 0.7889 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.6851, allocations: 7.375 kB / 0.7889 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6851, allocations: 0 / 0.7889 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6851, allocations: 0 / 0.7889 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.6853, allocations: 172 kB / 0.789 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.6853, allocations: 84.89 kB / 0.7891 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.6854, allocations: 3.938 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.6855, allocations: 20.62 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.6856, allocations: 13.62 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.6856, allocations: 0 / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.6856, allocations: 92.34 kB / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6856, allocations: 0 / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002168/0.6858, allocations: 5.562 kB / 0.7892 GB, free: 48.25 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.0001146/0.686, allocations: 100.8 kB / 0.7893 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.6862, allocations: 47.81 kB / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6862, allocations: 0 / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.6863, allocations: 28 kB / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.6866, allocations: 7.188 kB / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.6869, allocations: 120.3 kB / 0.7895 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.687, allocations: 0.6812 MB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.687, allocations: 8.984 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.6871, allocations: 10.06 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6871, allocations: 0.75 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003217/0.6903, allocations: 0.8109 MB / 0.791 GB, free: 47.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)