Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001101/0.001101, allocations: 176.9 kB / 366.7 MB, free: 1.676 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.76/1.76, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008262/0.000826, allocations: 95.16 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.8e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7061, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.8876, allocations: 138.6 MB / 1.109 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.8879, allocations: 71.95 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006208/0.8941, allocations: 2.091 MB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8941, allocations: 0 / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.8941, allocations: 4.938 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004748/0.8946, allocations: 395 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.8947, allocations: 8.031 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.8947, allocations: 14.53 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8949, allocations: 168.4 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.8949, allocations: 4 kB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.8949, allocations: 7.984 kB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.187e-05/0.895, allocations: 27.28 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.8951, allocations: 45.69 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8951, allocations: 0.625 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.8951, allocations: 1 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.8952, allocations: 4 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.8957, allocations: 312.4 kB / 1.112 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.8958, allocations: 49.02 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.8959, allocations: 20.55 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.8959, allocations: 4 kB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.896, allocations: 75.28 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.8961, allocations: 0 / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002142/0.8963, allocations: 80.27 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.8963, allocations: 55.34 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.8964, allocations: 116.6 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.8965, allocations: 25.7 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.8966, allocations: 92.12 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.8966, allocations: 19.88 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.8966, allocations: 4 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.8968, allocations: 322.8 kB / 1.113 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.8969, allocations: 36 kB / 1.113 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.897, allocations: 68.28 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.8972, allocations: 43.97 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8972, allocations: 0 / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003385/0.8976, allocations: 153.4 kB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.8976, allocations: 37.69 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8976, allocations: 5.594 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.8976, allocations: 0 / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8977, allocations: 15.98 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.8978, allocations: 0 / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.898, allocations: 48.08 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.898, allocations: 11.98 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.398e-05/0.8981, allocations: 120.8 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.8981, allocations: 7.906 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.8982, allocations: 8.625 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8982, allocations: 0 / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8982, allocations: 7.562 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8982, allocations: 0 / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.8985, allocations: 327 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8985, allocations: 0 / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.8986, allocations: 11.94 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8986, allocations: 0 / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8986, allocations: 7.984 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8986, allocations: 1.781 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8986, allocations: 0 / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.8988, allocations: 179.4 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.8989, allocations: 89 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.8989, allocations: 0 / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.899, allocations: 4 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.899, allocations: 11.98 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8991, allocations: 4 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.8991, allocations: 92.69 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8991, allocations: 0 / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002503/0.8994, allocations: 28 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001846/0.8996, allocations: 120.7 kB / 1.114 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.8998, allocations: 144.6 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8998, allocations: 4.062 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-05/0.8999, allocations: 20 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.9001, allocations: 20.55 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.9004, allocations: 98.8 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.9006, allocations: 0.6931 MB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.9007, allocations: 11.98 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.9007, allocations: 7.438 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9007, allocations: 4 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of Templates: time 0.003304/0.904, allocations: 1.179 MB / 1.116 GB, free: 3.801 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)