Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 80.52 kB / 19.95 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.296/3.296, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.486e-05, allocations: 9.516 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001828/0.001853, allocations: 0.7177 MB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.003537, allocations: 1.162 MB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.003584, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.003615, allocations: 7.922 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.00368, allocations: 11.88 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.004149, allocations: 138.5 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.004353, allocations: 123.8 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.004442, allocations: 15.98 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.00457, allocations: 59.95 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.004673, allocations: 43.8 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.004705, allocations: 8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.004775, allocations: 20 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.004799, allocations: 15.92 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.004871, allocations: 35.91 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.0051, allocations: 127.7 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005102, allocations: 0 / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005102, allocations: 4 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.005106, allocations: 0 / 1.004 GB, free: 10.51 MB / 0.9636 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.0006212/0.005727, allocations: 339.8 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.005762, allocations: 9.344 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.005813, allocations: 12.89 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.005939, allocations: 113.8 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.005956, allocations: 4.375 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.005983, allocations: 8.375 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.006195, allocations: 66.2 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006206, allocations: 4.125 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.00622, allocations: 4.375 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006226, allocations: 4.375 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.006428, allocations: 47.89 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.00692, allocations: 252.4 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.007117, allocations: 54.48 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.007243, allocations: 33.03 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.007256, allocations: 4 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.007482, allocations: 95.36 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.007483, allocations: 3.938 kB / 1.005 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0004653/0.007948, allocations: 141.5 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.008006, allocations: 59.41 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.00813, allocations: 117.8 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.00816, allocations: 29.7 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.008241, allocations: 100.1 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.008266, allocations: 19.89 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.008349, allocations: 37.7 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.008521, allocations: 318.8 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.008715, allocations: 81.66 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.008931, allocations: 114 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.009251, allocations: 141.9 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.009255, allocations: 0 / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005257/0.00978, allocations: 248.8 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.009828, allocations: 33.7 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.009836, allocations: 4 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.009853, allocations: 8.062 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.009957, allocations: 11.98 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.009965, allocations: 3.938 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.01018, allocations: 35.95 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.0102, allocations: 8 kB / 1.006 GB, free: 7.746 MB / 0.9636 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.01032, allocations: 121.8 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.01034, allocations: 15.88 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.01038, allocations: 16.42 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01038, allocations: 0 / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.01039, allocations: 4 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01039, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.01092, allocations: 322 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01092, allocations: 0 / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.01098, allocations: 11.92 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01099, allocations: 0 / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.011, allocations: 4.062 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.011, allocations: 8 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.011, allocations: 0 / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.01135, allocations: 207.8 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.01137, allocations: 7.953 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.01138, allocations: 0 / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.01146, allocations: 7.984 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.01151, allocations: 7.984 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01152, allocations: 8 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002876/0.01181, allocations: 95.27 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01181, allocations: 0 / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002653/0.01207, allocations: 20 kB / 1.007 GB, free: 6.844 MB / 0.9636 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * 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 (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.000202/0.01227, allocations: 111.2 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.01271, allocations: 189 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01271, allocations: 0 / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.01286, allocations: 48.16 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01315, allocations: 15.94 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.01354, allocations: 153.6 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.01363, allocations: 77.81 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.01367, allocations: 7.984 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.0137, allocations: 16.5 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.0137, allocations: 4 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of Templates: time 0.005175/0.01888, allocations: 1.579 MB / 1.009 GB, free: 4.621 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.004968679510057]