Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 289.7 MB / 302.2 MB, free: 2.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001193, allocations: 182.3 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 91.56 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.681e-05, allocations: 4 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8596/1.17, allocations: 139.5 MB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/1.17, allocations: 73.31 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006491/1.176, allocations: 2.476 MB / 1.119 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/1.176, allocations: 0 / 1.119 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.176, allocations: 0 / 1.119 GB, free: 42.82 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000443/1.177, allocations: 425.1 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.177, allocations: 12.03 kB / 1.119 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/1.177, allocations: 13.62 kB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.833e-05/1.177, allocations: 182.9 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/1.177, allocations: 4 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/1.177, allocations: 19.2 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.177, allocations: 66.86 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.177, allocations: 0 / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.177, allocations: 7.812 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.177, allocations: 1.188 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/1.177, allocations: 42.97 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/1.178, allocations: 384.3 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/1.178, allocations: 65.7 kB / 1.12 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/1.178, allocations: 35.7 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/1.178, allocations: 4 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/1.178, allocations: 98.12 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 2.304e-06/1.178, allocations: 0.7031 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.000219/1.179, allocations: 114.1 kB / 1.12 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/1.179, allocations: 55.41 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/1.179, allocations: 116.3 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/1.179, allocations: 33.45 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/1.179, allocations: 95.36 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/1.179, allocations: 38.58 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/1.179, allocations: 8 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.52e-05/1.179, allocations: 318.1 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/1.179, allocations: 51.25 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/1.179, allocations: 90.14 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/1.179, allocations: 85.25 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.179, allocations: 0 / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002917/1.179, allocations: 216.2 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.18, allocations: 37.58 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.18, allocations: 0 / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.18, allocations: 4 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/1.18, allocations: 35.14 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.18, allocations: 3.953 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.18, allocations: 65.22 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/1.18, allocations: 4 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/1.18, allocations: 125.5 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.18, allocations: 8.406 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/1.18, allocations: 123 kB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.18, allocations: 4 kB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.18, allocations: 0 / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.18, allocations: 5.172 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/1.181, allocations: 397.5 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.181, allocations: 4 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/1.181, allocations: 19.33 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.181, allocations: 0 / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.181, allocations: 4.156 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.181, allocations: 7.891 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.181, allocations: 0 / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/1.181, allocations: 214.2 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/1.181, allocations: 89.52 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.181, allocations: 4.938 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.181, allocations: 18.84 kB / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/1.181, allocations: 22 kB / 1.122 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/1.181, allocations: 9.031 kB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.369e-05/1.181, allocations: 99.89 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.181, allocations: 0 / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002465/1.182, allocations: 31.62 kB / 1.122 GB, free: 39.31 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.trigger,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/1.182, allocations: 120.9 kB / 1.122 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000259/1.182, allocations: 189.3 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.182, allocations: 0 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/1.182, allocations: 47.12 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/1.182, allocations: 13.55 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.183, allocations: 132.9 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/1.183, allocations: 0.7096 MB / 1.123 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.197e-05/1.183, allocations: 8.562 kB / 1.123 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/1.183, allocations: 18.95 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.183, allocations: 0.5625 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.003601/1.186, allocations: 1.644 MB / 1.125 GB, free: 37.25 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)