Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.001413/0.001413, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001591/0.001591, allocations: 212.5 kB / 22.99 MB, free: 4.977 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 256.7 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.024/1.024, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 68.42 kB / 0.6416 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2226, allocations: 89.17 MB / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002534/0.2251, allocations: 1.063 MB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.2283, allocations: 2.188 MB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2284, allocations: 0 / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.418e-05/0.2285, allocations: 19.69 kB / 0.7319 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.2287, allocations: 107.2 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.2323, allocations: 1.395 MB / 0.7333 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.2342, allocations: 1.201 MB / 0.7345 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.2343, allocations: 12.94 kB / 0.7345 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008209/0.2351, allocations: 487.3 kB / 0.735 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.2358, allocations: 390.5 kB / 0.7353 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.236, allocations: 104 kB / 0.7354 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.2363, allocations: 120 kB / 0.7356 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.2364, allocations: 51.83 kB / 0.7356 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.2368, allocations: 379.2 kB / 0.736 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2379, allocations: 0.97 MB / 0.7369 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2379, allocations: 3.938 kB / 0.7369 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2379, allocations: 0 / 0.7369 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2379, allocations: 4 kB / 0.7369 GB, free: 8.051 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001451/0.2394, allocations: 1.092 MB / 0.738 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2394, allocations: 16.02 kB / 0.738 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.2396, allocations: 68.69 kB / 0.7381 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2398, allocations: 158.7 kB / 0.7382 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.2399, allocations: 44.36 kB / 0.7383 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.24, allocations: 60.38 kB / 0.7383 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2404, allocations: 214.8 kB / 0.7385 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2404, allocations: 4.188 kB / 0.7385 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.2404, allocations: 7.922 kB / 0.7385 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2404, allocations: 4 kB / 0.7385 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2405, allocations: 71.78 kB / 0.7386 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.2413, allocations: 0.5948 MB / 0.7392 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.2416, allocations: 323.3 kB / 0.7395 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.2418, allocations: 132.8 kB / 0.7396 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2418, allocations: 8 kB / 0.7396 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/0.2425, allocations: 470.8 kB / 0.7401 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.364e-06/0.2425, allocations: 0 / 0.7401 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001085/0.2436, allocations: 0.5737 MB / 0.7406 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003056/0.2439, allocations: 435.2 kB / 0.7411 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.2442, allocations: 300.3 kB / 0.7413 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.2444, allocations: 69.69 kB / 0.7414 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2446, allocations: 165.3 kB / 0.7416 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2447, allocations: 91.38 kB / 0.7417 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004874/0.2452, allocations: 277.9 kB / 0.7419 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2454, allocations: 354.8 kB / 0.7423 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.2465, allocations: 0.8581 MB / 0.7431 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.248, allocations: 1.145 MB / 0.7442 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.2494, allocations: 1.203 MB / 0.7454 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2494, allocations: 4 kB / 0.7454 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00317/0.2526, allocations: 2.203 MB / 0.7475 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003953/0.253, allocations: 473.4 kB / 0.748 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.253, allocations: 15.94 kB / 0.748 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/0.2531, allocations: 16.12 kB / 0.748 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.2531, allocations: 31.86 kB / 0.7481 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.2532, allocations: 19.92 kB / 0.7481 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.2553, allocations: 403.2 kB / 0.7485 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.2555, allocations: 99.92 kB / 0.7486 GB, free: 10.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003834/0.2558, allocations: 217.6 kB / 0.7488 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2559, allocations: 47.69 kB / 0.7488 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.432e-05/0.256, allocations: 46.11 kB / 0.7488 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.256, allocations: 8 kB / 0.7489 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.256, allocations: 4 kB / 0.7489 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.2561, allocations: 7.984 kB / 0.7489 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.2564, allocations: 241.1 kB / 0.7491 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2564, allocations: 4 kB / 0.7491 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.2564, allocations: 19.92 kB / 0.7491 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.2565, allocations: 8 kB / 0.7491 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2565, allocations: 15.98 kB / 0.7491 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.2565, allocations: 11.94 kB / 0.7492 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.2565, allocations: 7.938 kB / 0.7492 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000697/0.2572, allocations: 0.5199 MB / 0.7497 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.2573, allocations: 47.64 kB / 0.7497 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.2573, allocations: 19.92 kB / 0.7497 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2574, allocations: 16 kB / 0.7497 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.2575, allocations: 59.92 kB / 0.7498 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.2576, allocations: 35.92 kB / 0.7498 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001938/0.2578, allocations: 199 kB / 0.75 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2578, allocations: 0 / 0.75 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006437/0.2584, allocations: 199.9 kB / 0.7502 GB, free: 8.816 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001987/0.2586, allocations: 129.1 kB / 0.7503 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.2609, allocations: 2.018 MB / 0.7523 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2609, allocations: 0 / 0.7523 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.2612, allocations: 153 kB / 0.7525 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.2619, allocations: 130 kB / 0.7526 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.263, allocations: 0.6347 MB / 0.7532 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2631, allocations: 165.8 kB / 0.7534 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.2633, allocations: 42.97 kB / 0.7534 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.2633, allocations: 39.42 kB / 0.7534 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.2633, allocations: 0 / 0.7534 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.4179/0.6812, allocations: 13.81 MB / 0.7669 GB, free: 33.73 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.924475667998195] Failed to read output from testmodel.py, exit status != 0: 0.6901445537805557 0.7032765950000001 0.462640107 Calling exit ...