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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 179.7 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001129, allocations: 88.81 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 14.81 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002039/0.267, allocations: 1.152 MB / 0.8979 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.2675, allocations: 145.2 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.2676, allocations: 4 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.691e-05/0.2677, allocations: 3.984 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.2678, allocations: 7.938 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.268, allocations: 11.98 kB / 0.8981 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2681, allocations: 47.8 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2682, allocations: 16.25 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.2683, allocations: 4 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.2684, allocations: 23.86 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2684, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.2685, allocations: 8 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.2685, allocations: 7.984 kB / 0.8982 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.2685, allocations: 15.88 kB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.2686, allocations: 31.84 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2686, allocations: 4 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2686, allocations: 0 / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2687, allocations: 4 kB / 0.8982 GB, free: 66.7 MB / 0.6042 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.0006501/0.2693, allocations: 387.4 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.2694, allocations: 11.97 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.2694, allocations: 4.938 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2696, allocations: 176.2 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2696, allocations: 384 / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2696, allocations: 4.375 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.2699, allocations: 66.22 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2699, allocations: 192 / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2699, allocations: 3.938 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2699, allocations: 4 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.2701, allocations: 55.95 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.2707, allocations: 304.8 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.2709, allocations: 54.55 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.271, allocations: 33 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2711, allocations: 0 / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2711, allocations: 42.5 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2711, allocations: 0 / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003669/0.2715, allocations: 113.7 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2715, allocations: 51.41 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.2716, allocations: 113.8 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2716, allocations: 26.08 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.2716, allocations: 88.22 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2717, allocations: 15.83 kB / 0.8997 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.2717, allocations: 17.7 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.2718, allocations: 322.7 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.2719, allocations: 23.98 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.2719, allocations: 35.89 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.2721, allocations: 60.77 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2721, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001957/0.2723, allocations: 93.56 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2723, allocations: 4 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2723, allocations: 0 / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2724, allocations: 3.984 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.2724, allocations: 8 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2725, allocations: 0 / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2726, allocations: 27.97 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.2726, allocations: 0 / 0.9003 GB, free: 64.36 MB / 0.6042 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 7.194e-05/0.2727, allocations: 121.7 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.2727, allocations: 3.906 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.2729, allocations: 93.55 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2729, allocations: 0 / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.273, allocations: 0 / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.273, allocations: 0 / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.2731, allocations: 169.6 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2731, allocations: 0 / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.2732, allocations: 15.98 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2732, allocations: 4 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2732, allocations: 0 / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2732, allocations: 0 / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2732, allocations: 3.938 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2734, allocations: 183.4 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.2735, allocations: 89.02 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2735, allocations: 4 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2736, allocations: 19.97 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.2737, allocations: 4 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2737, allocations: 0 / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.2737, allocations: 95.27 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2737, allocations: 288 / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001956/0.2739, allocations: 8 kB / 0.901 GB, free: 63.46 MB / 0.6042 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.0001351/0.2741, allocations: 99.25 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.2743, allocations: 72.06 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2743, allocations: 0 / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.2744, allocations: 32.05 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2747, allocations: 11.88 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.275, allocations: 161 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2752, allocations: 0.6848 MB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.2752, allocations: 7.438 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2752, allocations: 0 / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.002121/0.2774, allocations: 0.7573 MB / 0.9028 GB, free: 61.58 MB / 0.6042 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)