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.001408/0.001408, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001831/0.001832, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.601/1.601, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.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.759/1.759, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001358/0.001358, allocations: 70.7 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2582, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002845/0.2611, allocations: 0.7783 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2624, allocations: 0.8292 MB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.2625, allocations: 4 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.2626, allocations: 3.984 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.2627, allocations: 7.922 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2629, allocations: 19.98 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.006e-05/0.263, allocations: 35.92 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2632, allocations: 15.98 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.2633, allocations: 11.94 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.2633, allocations: 31.89 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2634, allocations: 8 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.2634, allocations: 4 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2634, allocations: 7.938 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.2635, allocations: 19.92 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2636, allocations: 35.88 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2636, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2636, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2636, allocations: 0 / 0.7846 GB, free: 12.08 MB / 0.6075 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.0007856/0.2644, allocations: 387.6 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.2645, allocations: 8.031 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.2645, allocations: 12.78 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.2647, allocations: 180.1 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2647, allocations: 8.359 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2647, allocations: 384 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.265, allocations: 62.23 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.265, allocations: 4.188 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.265, allocations: 7.938 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2651, allocations: 0 / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2652, allocations: 43.95 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.2658, allocations: 296.8 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.2661, allocations: 50.55 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.2662, allocations: 28.98 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2662, allocations: 4 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2663, allocations: 38.5 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2663, allocations: 3.938 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003771/0.2667, allocations: 89.55 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.2667, allocations: 51.41 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.2668, allocations: 117.8 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2668, allocations: 25.7 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.2669, allocations: 92.12 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2669, allocations: 3.906 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.267, allocations: 17.72 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2671, allocations: 322.8 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.2672, allocations: 19.98 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.2673, allocations: 31.92 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2674, allocations: 40.81 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2675, allocations: 0 / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002023/0.2677, allocations: 81.56 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2677, allocations: 4 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2677, allocations: 0 / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2677, allocations: 0 / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.2678, allocations: 15.98 kB / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2678, allocations: 0 / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2679, allocations: 19.92 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2679, allocations: 0 / 0.7866 GB, free: 9.824 MB / 0.6075 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.735e-05/0.268, allocations: 121.7 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2681, allocations: 7.938 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.2683, allocations: 89.86 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2683, allocations: 0 / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2684, allocations: 0 / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2684, allocations: 0 / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.2686, allocations: 177.6 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2686, allocations: 0 / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.2686, allocations: 11.98 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2686, allocations: 0 / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2687, allocations: 0 / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2687, allocations: 4.375 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.2687, allocations: 0 / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.2689, allocations: 171.4 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.269, allocations: 85 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.269, allocations: 3.938 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2691, allocations: 19.98 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.2692, allocations: 11.98 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.2692, allocations: 0 / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.2693, allocations: 91.27 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2693, allocations: 0 / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002126/0.2695, allocations: 4 kB / 0.7874 GB, free: 8.934 MB / 0.6075 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.0001698/0.2697, allocations: 99.25 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.2699, allocations: 55.89 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2699, allocations: 0 / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.27, allocations: 19.98 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2704, allocations: 19.92 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.2708, allocations: 133.5 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.2712, allocations: 0.6807 MB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.2712, allocations: 0 / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2712, allocations: 15.44 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2713, allocations: 0 / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.002979/0.2742, allocations: 0.7012 MB / 0.7891 GB, free: 7.16 MB / 0.6075 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)