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.001232/0.001232, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.647/1.647, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.805/1.805, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001517/0.001518, allocations: 78.83 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002728/0.2931, allocations: 0.7126 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2943, allocations: 0.8282 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.2944, allocations: 7.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.2944, allocations: 3.984 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.2945, allocations: 11.88 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.2947, allocations: 19.97 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2948, allocations: 39.92 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.295, allocations: 11.98 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.2951, allocations: 19.92 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.2951, allocations: 15.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2952, allocations: 4 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2952, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.2952, allocations: 23.91 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.2953, allocations: 15.94 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2954, allocations: 39.86 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2954, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2954, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2954, allocations: 0 / 0.7851 GB, free: 11.68 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.0008262/0.2962, allocations: 383.6 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2963, allocations: 12.03 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.2963, allocations: 4.844 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2965, allocations: 180.2 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2965, allocations: 8.312 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2966, allocations: 4.375 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.2968, allocations: 62.22 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2968, allocations: 8.125 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2968, allocations: 3.938 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2969, allocations: 4 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.2971, allocations: 43.95 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.2978, allocations: 296.8 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.298, allocations: 50.55 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.2981, allocations: 25 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2982, allocations: 3.984 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2982, allocations: 34.56 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2982, allocations: 0 / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003482/0.2986, allocations: 101.5 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2986, allocations: 55.41 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.2987, allocations: 105.8 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2987, allocations: 33.7 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.2988, allocations: 88.14 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2988, allocations: 7.906 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.2988, allocations: 17.7 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.299, allocations: 318.8 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2991, allocations: 19.98 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.2992, allocations: 23.97 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2993, allocations: 48.77 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2993, allocations: 4 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002056/0.2995, allocations: 77.56 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2996, allocations: 4 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2996, allocations: 11.97 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2996, allocations: 0 / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.2996, allocations: 4 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.2997, allocations: 0 / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2998, allocations: 27.91 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2998, allocations: 0 / 0.7871 GB, free: 9.426 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 7.879e-05/0.2999, allocations: 118.4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.2999, allocations: 3.938 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3001, allocations: 81.86 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3002, allocations: 8 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3002, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3002, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3004, allocations: 181.4 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3004, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.3004, allocations: 4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3004, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3004, allocations: 4 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3004, allocations: 0 / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3005, allocations: 3.984 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3007, allocations: 175.4 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3007, allocations: 81.44 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3008, allocations: 4 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3009, allocations: 15.97 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.301, allocations: 8 kB / 0.7877 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.301, allocations: 0 / 0.7877 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.301, allocations: 91.27 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002205/0.3013, allocations: 12 kB / 0.7878 GB, free: 8.543 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.000114/0.3014, allocations: 103.2 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3016, allocations: 47.89 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3016, allocations: 4 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.3017, allocations: 27.97 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3021, allocations: 7.938 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.3024, allocations: 124.9 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3027, allocations: 0.6885 MB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.3027, allocations: 4 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.3028, allocations: 7.438 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3028, allocations: 0 / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.003245/0.306, allocations: 0.8306 MB / 0.7896 GB, free: 6.656 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)