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.00118/0.001181, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001306/0.001307, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.615/1.615, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.783/1.783, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.00183/0.00183, allocations: 75.88 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2587, allocations: 114.5 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002437/0.2612, allocations: 0.7216 MB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2624, allocations: 0.8281 MB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.2625, allocations: 4 kB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2626, allocations: 3.938 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.2627, allocations: 11.92 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2629, allocations: 19.98 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.263, allocations: 35.92 kB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2631, allocations: 19.98 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.2632, allocations: 19.91 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.2633, allocations: 19.86 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2633, allocations: 4 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2633, allocations: 4 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2633, allocations: 15.94 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2634, allocations: 19.92 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.861e-05/0.2635, allocations: 39.86 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2635, allocations: 3.938 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2635, allocations: 0 / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.2635, allocations: 0 / 0.7858 GB, free: 2.137 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.0006918/0.2642, allocations: 383.6 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2642, allocations: 12.03 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.2643, allocations: 8.828 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2644, allocations: 168.3 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2645, allocations: 4.375 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2645, allocations: 4.375 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2647, allocations: 62.23 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2647, allocations: 8.156 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2647, allocations: 3.938 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2647, allocations: 4 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2649, allocations: 43.91 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.2655, allocations: 300.7 kB / 0.7867 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.2658, allocations: 50.59 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.2659, allocations: 28.89 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2659, allocations: 3.938 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.266, allocations: 34.56 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.266, allocations: 0 / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004074/0.2664, allocations: 93.55 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2664, allocations: 55.41 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2665, allocations: 117.8 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2666, allocations: 25.7 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2666, allocations: 88.14 kB / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.2667, allocations: 15.97 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.2667, allocations: 9.719 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2668, allocations: 326.8 kB / 0.7875 GB, free: 108 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.2669, allocations: 19.98 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.267, allocations: 23.97 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2672, allocations: 40.83 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2672, allocations: 0 / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.4078/0.6751, allocations: 78.14 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.6751, allocations: 6.141 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6751, allocations: 0 / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.6752, allocations: 6.578 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.6753, allocations: 8.641 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6753, allocations: 2.562 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.6754, allocations: 21.58 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.6754, allocations: 0 / 0.7877 GB, free: 48.56 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.137e-05/0.6755, allocations: 119.8 kB / 0.7878 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.6756, allocations: 5.656 kB / 0.7878 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.6758, allocations: 85.56 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6758, allocations: 4.875 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6759, allocations: 0 / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6759, allocations: 0 / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.676, allocations: 169.4 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.676, allocations: 3.031 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.6761, allocations: 9.156 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6761, allocations: 0.6562 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.6761, allocations: 3.375 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6761, allocations: 2.844 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6761, allocations: 0 / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.6763, allocations: 170.9 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.6764, allocations: 87.64 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.6764, allocations: 0 / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6766, allocations: 22.77 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.6766, allocations: 2.344 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.6766, allocations: 3.469 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.6767, allocations: 89.72 kB / 0.7885 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6767, allocations: 1.969 kB / 0.7885 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002296/0.6769, allocations: 10.91 kB / 0.7885 GB, free: 47.92 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.0001231/0.677, allocations: 103.5 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.6773, allocations: 47.75 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6773, allocations: 0 / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.6774, allocations: 31.12 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.6777, allocations: 6.562 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.678, allocations: 141.8 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.6782, allocations: 0.6861 MB / 0.7895 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.6782, allocations: 15.5 kB / 0.7895 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6783, allocations: 0 / 0.7895 GB, free: 47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002169/0.6804, allocations: 0.776 MB / 0.7902 GB, free: 47 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)