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.001078/0.001078, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001061/0.001061, allocations: 184 kB / 17.22 MB, free: 5.934 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.76/1.76, 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 2.036/2.036, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.002379/0.00238, allocations: 63.91 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2967, allocations: 114.5 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002675/0.2994, allocations: 0.7216 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3006, allocations: 0.832 MB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.3006, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.3007, allocations: 3.938 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.3008, allocations: 11.88 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.301, allocations: 19.98 kB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.3011, allocations: 39.91 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3012, allocations: 15.98 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.3013, allocations: 19.92 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.3014, allocations: 23.91 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3014, allocations: 4 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.3014, allocations: 4 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.3015, allocations: 8 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.3015, allocations: 27.8 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.3016, allocations: 39.86 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3016, allocations: 3.938 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.67e-06/0.3017, allocations: 0 / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3017, allocations: 3.938 kB / 0.7858 GB, free: 2.027 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.0007311/0.3024, allocations: 387.6 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3025, allocations: 8.031 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.3025, allocations: 8.844 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3027, allocations: 168.3 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3027, allocations: 4.375 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.3027, allocations: 4.375 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3029, allocations: 66.23 kB / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3029, allocations: 192 / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.303, allocations: 3.938 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.303, allocations: 0 / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3032, allocations: 47.89 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.3037, allocations: 300.7 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.304, allocations: 54.53 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.3041, allocations: 28.98 kB / 0.7869 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3041, allocations: 3.938 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3042, allocations: 38.56 kB / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3042, allocations: 0 / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003614/0.3046, allocations: 89.55 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3046, allocations: 51.41 kB / 0.787 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3047, allocations: 113.8 kB / 0.7871 GB, free: 496 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3047, allocations: 25.7 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.3048, allocations: 96.12 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3049, allocations: 7.906 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3049, allocations: 13.72 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.305, allocations: 326.7 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5293/0.8344, allocations: 14.47 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.8345, allocations: 24.45 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.8347, allocations: 41.64 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8347, allocations: 2.625 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002187/0.8349, allocations: 81.8 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8349, allocations: 5.812 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.8349, allocations: 2.625 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.835, allocations: 0 / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.8351, allocations: 11.95 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8351, allocations: 5.781 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.8352, allocations: 18.59 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.8352, allocations: 0 / 0.7878 GB, free: 48.55 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 7.003e-05/0.8353, allocations: 119.5 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.8353, allocations: 5.438 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.8355, allocations: 83.08 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8356, allocations: 0 / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8356, allocations: 0 / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8356, allocations: 0.5938 kB / 0.788 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.8357, allocations: 170.2 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8357, allocations: 0 / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.8358, allocations: 13.22 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8358, allocations: 1.969 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.8358, allocations: 3.375 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8358, allocations: 0.9375 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8358, allocations: 0 / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.836, allocations: 174.6 kB / 0.7883 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.8361, allocations: 83.45 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.8361, allocations: 3.281 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.8362, allocations: 20.3 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.8363, allocations: 5.859 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.8363, allocations: 4.156 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.8363, allocations: 86.38 kB / 0.7885 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.91e-07/0.8363, allocations: 0.5312 kB / 0.7885 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002159/0.8366, allocations: 13.09 kB / 0.7885 GB, free: 47.91 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.0001422/0.8367, allocations: 106.9 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.8369, allocations: 50.09 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8369, allocations: 0 / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.837, allocations: 28.72 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.8373, allocations: 8.781 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.8376, allocations: 122.2 kB / 0.7888 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.722e-05/0.8377, allocations: 0.6775 MB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.8378, allocations: 2.75 kB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.8378, allocations: 16.34 kB / 0.7895 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8378, allocations: 0.875 kB / 0.7895 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.002597/0.8404, allocations: 0.8077 MB / 0.7903 GB, free: 47.02 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)