Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.001267/0.001267, allocations: 176.8 kB / 366.7 MB, free: 1.703 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.863/1.863, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008144/0.0008147, allocations: 87.73 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.576e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7216, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.9258, allocations: 138.2 MB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.9261, allocations: 75.95 kB / 1.108 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006646/0.9327, allocations: 2.484 MB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9328, allocations: 0 / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.9328, allocations: 0.5312 kB / 1.111 GB, free: 9.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004603/0.9333, allocations: 364.3 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9333, allocations: 8.031 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.9334, allocations: 8.406 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.9335, allocations: 175.5 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.9335, allocations: 0 / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.9336, allocations: 4.531 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.591e-05/0.9337, allocations: 24.69 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.9338, allocations: 47.84 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9338, allocations: 0.7188 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9338, allocations: 0 / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.9338, allocations: 5.062 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.9344, allocations: 288 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.9345, allocations: 46.5 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.9345, allocations: 22.39 kB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.9346, allocations: 0 / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.9347, allocations: 61.62 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.9347, allocations: 0 / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001923/0.9349, allocations: 77.59 kB / 1.112 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.935, allocations: 55.34 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.9351, allocations: 109 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.9351, allocations: 27.92 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.9352, allocations: 96.03 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.9352, allocations: 11.84 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.9352, allocations: 0 / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.9354, allocations: 319.6 kB / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.9354, allocations: 23.98 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.9355, allocations: 60.59 kB / 1.113 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.9357, allocations: 43.95 kB / 1.113 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9358, allocations: 0.875 kB / 1.113 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003481/0.9361, allocations: 118.8 kB / 1.113 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.9361, allocations: 7.344 kB / 1.113 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9362, allocations: 4 kB / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9362, allocations: 4 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.9363, allocations: 24.14 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.9363, allocations: 11.12 kB / 1.113 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.9364, allocations: 15.89 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.9364, allocations: 5.938 kB / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.752e-05/0.9365, allocations: 110.5 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.9366, allocations: 0 / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.9366, allocations: 20.55 kB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.9366, allocations: 0 / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9366, allocations: 3.938 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9366, allocations: 7.984 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.9369, allocations: 319 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.937, allocations: 0 / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.937, allocations: 11.98 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.937, allocations: 0 / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.937, allocations: 3.938 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.937, allocations: 0 / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9371, allocations: 4 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.9372, allocations: 178.4 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.9373, allocations: 81.09 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.9373, allocations: 6.062 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.9374, allocations: 4 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.9374, allocations: 11.98 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.9375, allocations: 0 / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.9375, allocations: 97.34 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9375, allocations: 4 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002483/0.9378, allocations: 19.84 kB / 1.114 GB, free: 6.301 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0002061/0.938, allocations: 111.2 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.9381, allocations: 47.92 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9381, allocations: 0 / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.9382, allocations: 24.44 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.9384, allocations: 15.94 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.9386, allocations: 95.05 kB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.9389, allocations: 0.6963 MB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.939, allocations: 4 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.939, allocations: 11.44 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.939, allocations: 4 kB / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of Templates: time 0.002939/0.942, allocations: 0.7871 MB / 1.115 GB, free: 4.496 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)