Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001338/0.001338, allocations: 105 kB / 20.45 MB, free: 1.512 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.001475/0.001475, allocations: 210.9 kB / 23.76 MB, free: 4.738 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8.031 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 0.9465/0.9465, allocations: 150 MB / 463.9 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [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.002024/0.002024, allocations: 71.2 kB / 0.6425 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2025, allocations: 89.18 MB / 0.7296 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003604/0.2061, allocations: 0.9486 MB / 0.7305 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003766/0.2098, allocations: 1.478 MB / 0.732 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.21, allocations: 4 kB / 0.732 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.21, allocations: 15.75 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.2103, allocations: 63.55 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.2125, allocations: 441.7 kB / 0.7325 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2135, allocations: 491.1 kB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.2137, allocations: 33.94 kB / 0.733 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.2141, allocations: 183.6 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.2146, allocations: 167.5 kB / 0.7333 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.2148, allocations: 52 kB / 0.7333 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.215, allocations: 67.92 kB / 0.7334 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.2151, allocations: 35.86 kB / 0.7334 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.2154, allocations: 167.4 kB / 0.7336 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2164, allocations: 0.4906 MB / 0.7341 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2164, allocations: 4 kB / 0.7341 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2164, allocations: 4 kB / 0.7341 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.2164, allocations: 0 / 0.7341 GB, free: 12.2 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001366/0.2178, allocations: 0.5663 MB / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2179, allocations: 8.031 kB / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.218, allocations: 32.78 kB / 0.7347 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.2183, allocations: 173.2 kB / 0.7348 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.2184, allocations: 16.38 kB / 0.7349 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2185, allocations: 20.36 kB / 0.7349 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.2188, allocations: 124.5 kB / 0.735 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2189, allocations: 192 / 0.735 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.2189, allocations: 15.88 kB / 0.735 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2189, allocations: 0 / 0.735 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.2191, allocations: 55.91 kB / 0.7351 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.221, allocations: 0.8435 MB / 0.7359 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.2213, allocations: 126.4 kB / 0.736 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2215, allocations: 43.48 kB / 0.7361 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2215, allocations: 8 kB / 0.7361 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.222, allocations: 166.7 kB / 0.7362 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.222, allocations: 0 / 0.7362 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.000804/0.2228, allocations: 233.3 kB / 0.7364 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2229, allocations: 128.5 kB / 0.7366 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.2233, allocations: 244.8 kB / 0.7368 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/0.2234, allocations: 33.7 kB / 0.7368 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2236, allocations: 136.5 kB / 0.737 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.2237, allocations: 35.8 kB / 0.737 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.224, allocations: 93.64 kB / 0.7371 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.2242, allocations: 334.8 kB / 0.7374 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.2248, allocations: 144.2 kB / 0.7375 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.2255, allocations: 226.6 kB / 0.7378 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.2263, allocations: 365 kB / 0.7381 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2263, allocations: 0 / 0.7381 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001767/0.2281, allocations: 0.5624 MB / 0.7387 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.2283, allocations: 139 kB / 0.7388 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2283, allocations: 8.875 kB / 0.7388 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.2283, allocations: 4 kB / 0.7388 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2285, allocations: 15.92 kB / 0.7388 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.2285, allocations: 4 kB / 0.7388 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2296, allocations: 115.7 kB / 0.7389 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.2297, allocations: 31.97 kB / 0.739 GB, free: 6.754 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002821/0.23, allocations: 150.3 kB / 0.7391 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.2301, allocations: 23.86 kB / 0.7391 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.2301, allocations: 21.33 kB / 0.7391 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.2302, allocations: 4 kB / 0.7391 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2302, allocations: 4 kB / 0.7392 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2302, allocations: 7.922 kB / 0.7392 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.2306, allocations: 228.6 kB / 0.7394 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2306, allocations: 3.938 kB / 0.7394 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.2307, allocations: 15.92 kB / 0.7394 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.2307, allocations: 4 kB / 0.7394 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2307, allocations: 8 kB / 0.7394 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2307, allocations: 0 / 0.7394 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2307, allocations: 0 / 0.7394 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.2312, allocations: 223.4 kB / 0.7396 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.2313, allocations: 23.78 kB / 0.7396 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.2313, allocations: 8 kB / 0.7397 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.2314, allocations: 4 kB / 0.7397 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.2315, allocations: 19.91 kB / 0.7397 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2315, allocations: 4 kB / 0.7397 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003009/0.2318, allocations: 176.5 kB / 0.7398 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2318, allocations: 0 / 0.7398 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006085/0.2324, allocations: 64 kB / 0.7399 GB, free: 5.695 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002522/0.2326, allocations: 123.1 kB / 0.74 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.2339, allocations: 481.8 kB / 0.7405 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2339, allocations: 4.125 kB / 0.7405 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.2342, allocations: 75.91 kB / 0.7406 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.2349, allocations: 60.33 kB / 0.7406 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.236, allocations: 386.3 kB / 0.741 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.2366, allocations: 0.7281 MB / 0.7417 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.2367, allocations: 19.44 kB / 0.7417 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2367, allocations: 0 / 0.7417 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of Templates: time 0.01064/0.2473, allocations: 3.507 MB / 0.7451 GB, free: 264 kB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.230270795058459] Failed to read output from testmodel.py, exit status != 0: 0.2585326100233942 0.282032713 0.062167845000000006 Calling exit ...