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.001744/0.001744, allocations: 109.5 kB / 17.12 MB, free: 5.926 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.002115/0.002115, allocations: 205 kB / 20.09 MB, free: 2.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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.12/1.12, allocations: 150 MB / 459.5 MB, free: 5.34 MB / 350.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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [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.002942/0.002942, allocations: 72.55 kB / 0.6361 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2233, allocations: 89.13 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002808/0.2261, allocations: 0.9508 MB / 0.7241 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2286, allocations: 1.473 MB / 0.7255 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.2288, allocations: 4 kB / 0.7255 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.64e-05/0.2289, allocations: 15.75 kB / 0.7256 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.2291, allocations: 59.56 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2305, allocations: 439 kB / 0.726 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009277/0.2315, allocations: 495 kB / 0.7265 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2317, allocations: 29.67 kB / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.2321, allocations: 187.6 kB / 0.7267 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.2325, allocations: 167.4 kB / 0.7269 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.2326, allocations: 51.94 kB / 0.7269 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2328, allocations: 75.92 kB / 0.727 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.2329, allocations: 31.92 kB / 0.727 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.2332, allocations: 167.4 kB / 0.7272 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.234, allocations: 0.4948 MB / 0.7277 GB, free: 15.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.234, allocations: 0 / 0.7277 GB, free: 15.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.055e-06/0.234, allocations: 0 / 0.7277 GB, free: 15.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.234, allocations: 0 / 0.7277 GB, free: 15.43 MB / 0.545 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.001339/0.2354, allocations: 0.6395 MB / 0.7283 GB, free: 14.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.2354, allocations: 12.03 kB / 0.7283 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.2355, allocations: 38.73 kB / 0.7283 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2357, allocations: 36.8 kB / 0.7284 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.236, allocations: 223 kB / 0.7286 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.236, allocations: 20.36 kB / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.2361, allocations: 20.38 kB / 0.7286 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.2364, allocations: 117.6 kB / 0.7287 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2364, allocations: 7.875 kB / 0.7287 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.2364, allocations: 4 kB / 0.7287 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2364, allocations: 4 kB / 0.7288 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2366, allocations: 59.91 kB / 0.7288 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.2379, allocations: 0.8678 MB / 0.7297 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.2381, allocations: 118.4 kB / 0.7298 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.2382, allocations: 47.48 kB / 0.7298 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.2382, allocations: 8 kB / 0.7298 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.2386, allocations: 169.2 kB / 0.73 GB, free: 12.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.2386, allocations: 0 / 0.73 GB, free: 12.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0005877/0.2392, allocations: 226.1 kB / 0.7302 GB, free: 12.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.2393, allocations: 140.5 kB / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.2397, allocations: 244.8 kB / 0.7306 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.751e-05/0.2398, allocations: 37.7 kB / 0.7306 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2399, allocations: 132.5 kB / 0.7307 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.24, allocations: 35.72 kB / 0.7308 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.2402, allocations: 93.66 kB / 0.7309 GB, free: 11.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.2404, allocations: 330.8 kB / 0.7312 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.2408, allocations: 152.1 kB / 0.7313 GB, free: 11.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.2412, allocations: 222.7 kB / 0.7315 GB, free: 11.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.2418, allocations: 365 kB / 0.7319 GB, free: 10.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2418, allocations: 7.938 kB / 0.7319 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001195/0.243, allocations: 0.5585 MB / 0.7324 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.2431, allocations: 138.8 kB / 0.7326 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2432, allocations: 4 kB / 0.7326 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2432, allocations: 4 kB / 0.7326 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2433, allocations: 11.98 kB / 0.7326 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2433, allocations: 8.188 kB / 0.7326 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.244, allocations: 115.7 kB / 0.7327 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.2441, allocations: 27.98 kB / 0.7327 GB, free: 9.746 MB / 0.545 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.0002691/0.2444, allocations: 154.3 kB / 0.7329 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.2445, allocations: 31.84 kB / 0.7329 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.2445, allocations: 21.23 kB / 0.7329 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2445, allocations: 7.938 kB / 0.7329 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2445, allocations: 0 / 0.7329 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.2445, allocations: 3.938 kB / 0.7329 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.2449, allocations: 261.5 kB / 0.7332 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2449, allocations: 0 / 0.7332 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.245, allocations: 15.98 kB / 0.7332 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.245, allocations: 8 kB / 0.7332 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.245, allocations: 4 kB / 0.7332 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.245, allocations: 0 / 0.7332 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.245, allocations: 0 / 0.7332 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.2454, allocations: 223.3 kB / 0.7334 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2455, allocations: 101 kB / 0.7335 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2456, allocations: 7.984 kB / 0.7335 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.2456, allocations: 4 kB / 0.7335 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.2457, allocations: 19.86 kB / 0.7335 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2457, allocations: 12 kB / 0.7336 GB, free: 8.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002064/0.2459, allocations: 164.5 kB / 0.7337 GB, free: 8.621 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2459, allocations: 0 / 0.7337 GB, free: 8.621 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004538/0.2464, allocations: 68 kB / 0.7338 GB, free: 8.555 MB / 0.545 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.0008571/0.2472, allocations: 0.7607 MB / 0.7345 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.2483, allocations: 491.2 kB / 0.735 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2483, allocations: 0 / 0.735 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.2484, allocations: 59.91 kB / 0.7351 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.2491, allocations: 66.27 kB / 0.7351 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.2547, allocations: 3.018 MB / 0.7381 GB, free: 3.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.2552, allocations: 0.7281 MB / 0.7388 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.2554, allocations: 21.53 kB / 0.7388 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2555, allocations: 67.41 kB / 0.7389 GB, free: 3.047 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.2555, allocations: 0 / 0.7389 GB, free: 3.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.2968, allocations: 6.41 MB / 0.7451 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/9.066, allocations: 11.92 kB / 0.7451 GB, free: 12.8 MB / 0.5606 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.474620623048395] Failed to read output from testmodel.py, exit status != 0: 9.139793420908973 9.1561296 8.918602504 Calling exit ...