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.001875/0.001875, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001947/0.001947, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.634/1.634, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001568/0.001569, allocations: 75.03 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2708, allocations: 114.5 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002482/0.2733, allocations: 0.7252 MB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2744, allocations: 0.8282 MB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.2744, allocations: 0 / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.2745, allocations: 7.875 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.2745, allocations: 7.938 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2747, allocations: 19.91 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.2748, allocations: 39.92 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2749, allocations: 15.98 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.275, allocations: 27.91 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.2751, allocations: 15.92 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2751, allocations: 4 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.2751, allocations: 4 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.2752, allocations: 4 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.2752, allocations: 23.86 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.2753, allocations: 43.86 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2753, allocations: 0 / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2753, allocations: 11.94 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2753, allocations: 0 / 0.7865 GB, free: 1.352 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.0006775/0.276, allocations: 375.4 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2761, allocations: 16.02 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.2761, allocations: 8.844 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2763, allocations: 172.2 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2763, allocations: 4.375 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2764, allocations: 384 / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.2766, allocations: 66.22 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2766, allocations: 192 / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2766, allocations: 7.938 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2766, allocations: 0 / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.2768, allocations: 43.97 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.2775, allocations: 300.6 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.2778, allocations: 58.61 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2779, allocations: 20.94 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.278, allocations: 4 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.278, allocations: 34.56 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.278, allocations: 0 / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.5477/0.8257, allocations: 95.19 kB / 0.7877 GB, free: 49.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.8258, allocations: 53.25 kB / 0.7877 GB, free: 49.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.826, allocations: 112.3 kB / 0.7878 GB, free: 49.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.826, allocations: 29.98 kB / 0.7879 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.8261, allocations: 88.8 kB / 0.788 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.8261, allocations: 4.875 kB / 0.788 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.8262, allocations: 16 kB / 0.788 GB, free: 49.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.8263, allocations: 317.1 kB / 0.7883 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.8264, allocations: 23.03 kB / 0.7883 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.8265, allocations: 23.91 kB / 0.7883 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.8267, allocations: 46.52 kB / 0.7884 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8267, allocations: 0 / 0.7884 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002324/0.827, allocations: 83.38 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.827, allocations: 5.25 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.827, allocations: 0 / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.827, allocations: 0 / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.8271, allocations: 18.16 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8271, allocations: 0 / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.8273, allocations: 25.03 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.8273, allocations: 0.5625 kB / 0.7885 GB, free: 48.93 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.562e-05/0.8273, allocations: 114 kB / 0.7886 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.8274, allocations: 5.656 kB / 0.7886 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.8276, allocations: 86 kB / 0.7887 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8276, allocations: 2.688 kB / 0.7887 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8277, allocations: 4.969 kB / 0.7887 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.8277, allocations: 78.98 kB / 0.7888 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.8277, allocations: 4.406 kB / 0.7888 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8278, allocations: 15.73 kB / 0.7888 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.8279, allocations: 11.5 kB / 0.7888 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000293/0.8282, allocations: 164.7 kB / 0.789 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002235/0.8284, allocations: 246.6 kB / 0.7892 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.147e-05/0.8285, allocations: 27.08 kB / 0.7892 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.8286, allocations: 93.98 kB / 0.7893 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of Backend: time 5.51e-07/0.8286, allocations: 0.5312 kB / 0.7893 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.8291, allocations: 107.1 kB / 0.7894 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006071/0.8297, allocations: 0.5688 MB / 0.79 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.003495/0.8332, allocations: 0.8972 MB / 0.7908 GB, free: 47.66 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)