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.001153/0.001153, allocations: 81.41 kB / 20.82 MB, free: 3.633 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.001683/0.001683, allocations: 165 kB / 24.25 MB, free: 212 kB / 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 0.9601/0.9601, allocations: 177.1 MB / 204.7 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.971/1.971, allocations: 389.6 MB / 0.6355 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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 2.044e-06/2.044e-06, allocations: 0 / 0.7754 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.96e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001406/0.001426, allocations: 0.7929 MB / 0.7762 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002579, allocations: 1.189 MB / 0.7773 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.002629, allocations: 0.5 kB / 0.7773 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.002663, allocations: 5.25 kB / 0.7773 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.002738, allocations: 16.62 kB / 0.7773 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.003078, allocations: 130.4 kB / 0.7775 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.00322, allocations: 117.1 kB / 0.7776 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.00329, allocations: 19.95 kB / 0.7776 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.003387, allocations: 63.89 kB / 0.7777 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.003456, allocations: 39.88 kB / 0.7777 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.003477, allocations: 8 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/0.003541, allocations: 23.98 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.003568, allocations: 12.56 kB / 0.7777 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.003606, allocations: 41.61 kB / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.003737, allocations: 87.81 kB / 0.7779 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003739, allocations: 0 / 0.7779 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00374, allocations: 3.938 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003743, allocations: 0 / 0.7779 GB, free: 2.785 MB / 0.7292 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.0003407/0.004084, allocations: 303.2 kB / 0.7781 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.004118, allocations: 17.28 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.004147, allocations: 9.672 kB / 0.7782 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.004225, allocations: 117.7 kB / 0.7783 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.004236, allocations: 11.19 kB / 0.7783 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.004251, allocations: 8.375 kB / 0.7783 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.00434, allocations: 62.92 kB / 0.7784 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004347, allocations: 192 / 0.7784 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.004354, allocations: 4.375 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.004359, allocations: 384 / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.004381, allocations: 15.88 kB / 0.7784 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.004613, allocations: 179 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.004684, allocations: 30.58 kB / 0.7786 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.0047, allocations: 12.97 kB / 0.7786 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.00471, allocations: 8 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.564e-05/0.004786, allocations: 71.38 kB / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.004787, allocations: 2.156 kB / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001106/0.004897, allocations: 73.83 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.004927, allocations: 59.41 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.004984, allocations: 126.6 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.004999, allocations: 29.69 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.00503, allocations: 89.88 kB / 0.779 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.005046, allocations: 15.91 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.005092, allocations: 41.67 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.005161, allocations: 314.8 kB / 0.7794 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.005208, allocations: 53.69 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.005265, allocations: 101 kB / 0.7795 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.005343, allocations: 111.5 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005345, allocations: 1.125 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001366/0.005481, allocations: 169.7 kB / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.005506, allocations: 37.69 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.005512, allocations: 8.469 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.00552, allocations: 0 / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.005573, allocations: 8.938 kB / 0.7799 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005578, allocations: 4 kB / 0.7799 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.005652, allocations: 29.27 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.005667, allocations: 11.94 kB / 0.7799 GB, free: 488 kB / 0.7292 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 6.198e-05/0.005729, allocations: 127.4 kB / 0.78 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.005737, allocations: 5.438 kB / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.005757, allocations: 12.38 kB / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005758, allocations: 0 / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.00576, allocations: 4.656 kB / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005763, allocations: 0 / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.005919, allocations: 215.3 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.00592, allocations: 0 / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.005942, allocations: 9.172 kB / 0.7803 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.005945, allocations: 3.938 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.005951, allocations: 4 kB / 0.7803 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.005953, allocations: 8.938 kB / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005954, allocations: 0 / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/0.006038, allocations: 152.1 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.006045, allocations: 3.953 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.006059, allocations: 8.625 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.006095, allocations: 8.922 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.006124, allocations: 11.97 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006128, allocations: 0 / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.006142, allocations: 14.19 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006142, allocations: 0 / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001379/0.00628, allocations: 32.89 kB / 0.7805 GB, free: 15.83 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: 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 8.305e-05/0.006363, allocations: 81.72 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.006514, allocations: 158.6 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.006516, allocations: 0 / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.652e-05/0.006542, allocations: 25.7 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.006678, allocations: 17.8 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.006905, allocations: 165 kB / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.006937, allocations: 63.34 kB / 0.781 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.006958, allocations: 8.953 kB / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.007029, allocations: 71.36 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.007029, allocations: 1.031 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.003185/0.01021, allocations: 1.686 MB / 0.7827 GB, free: 13.58 MB / 0.7448 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: 5.219428195618093]