Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001386/0.001386, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.002094/0.002094, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.495/1.495, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9858/0.9858, allocations: 150 MB / 463.9 MB, free: 10.52 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="cs",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.002124/0.002124, allocations: 68.62 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1949, allocations: 89.18 MB / 0.7292 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002331/0.1972, allocations: 0.8676 MB / 0.73 GB, free: 372 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.199, allocations: 1.217 MB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.1991, allocations: 0 / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.1991, allocations: 7.875 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.1992, allocations: 23.78 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.1997, allocations: 151 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.2, allocations: 167.6 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2001, allocations: 33.3 kB / 0.7316 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.2002, allocations: 67.83 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2004, allocations: 67.73 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.2004, allocations: 15.94 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.2005, allocations: 31.97 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.2005, allocations: 23.92 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.2006, allocations: 63.72 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.2009, allocations: 167.7 kB / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.2009, allocations: 4 kB / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2009, allocations: 0 / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.2009, allocations: 4 kB / 0.732 GB, free: 14.32 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.0008136/0.2017, allocations: 414 kB / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.2017, allocations: 8.031 kB / 0.7324 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.854e-05/0.2018, allocations: 4.172 kB / 0.7324 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.2018, allocations: 38.75 kB / 0.7324 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.2019, allocations: 12.89 kB / 0.7325 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.2024, allocations: 208.6 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2024, allocations: 4.375 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.2025, allocations: 12.38 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2027, allocations: 97.7 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2027, allocations: 0 / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2028, allocations: 0 / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2028, allocations: 0 / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.203, allocations: 55.89 kB / 0.7328 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.2037, allocations: 351.6 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2038, allocations: 42.48 kB / 0.7332 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/0.2039, allocations: 28.78 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.204, allocations: 128 / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.2043, allocations: 95.34 kB / 0.7333 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2043, allocations: 0 / 0.7333 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004582/0.2047, allocations: 145.4 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.2048, allocations: 59.34 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2049, allocations: 141.8 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.205, allocations: 25.7 kB / 0.7337 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2051, allocations: 120.1 kB / 0.7338 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2051, allocations: 23.81 kB / 0.7338 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.2052, allocations: 49.69 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2053, allocations: 322.8 kB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.2055, allocations: 47.97 kB / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.2057, allocations: 127.1 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.206, allocations: 200.6 kB / 0.7345 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.206, allocations: 0 / 0.7345 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000498/0.2065, allocations: 247 kB / 0.7347 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.2066, allocations: 33.7 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2066, allocations: 7.984 kB / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2066, allocations: 7.938 kB / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2067, allocations: 28.3 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2067, allocations: 12.36 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.2069, allocations: 39.86 kB / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.207, allocations: 19.92 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001251/0.2071, allocations: 132.3 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.2071, allocations: 15.84 kB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.2072, allocations: 12.7 kB / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2072, allocations: 11.94 kB / 0.7351 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2072, allocations: 0 / 0.7351 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2072, allocations: 4.031 kB / 0.7351 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.2078, allocations: 365.5 kB / 0.7354 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.2078, allocations: 7.922 kB / 0.7354 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.2079, allocations: 12 kB / 0.7354 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2079, allocations: 0 / 0.7354 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2079, allocations: 3.984 kB / 0.7354 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2079, allocations: 4 kB / 0.7354 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2079, allocations: 3.938 kB / 0.7354 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.2083, allocations: 239.3 kB / 0.7357 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.2084, allocations: 15.92 kB / 0.7357 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2084, allocations: 4 kB / 0.7357 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.2085, allocations: 12 kB / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.2086, allocations: 3.984 kB / 0.7357 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2086, allocations: 7.984 kB / 0.7357 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.2086, allocations: 105 kB / 0.7358 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2086, allocations: 0 / 0.7358 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003196/0.209, allocations: 31.94 kB / 0.7358 GB, free: 10 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008826/0.2098, allocations: 0.7944 MB / 0.7366 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.2103, allocations: 163.7 kB / 0.7368 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2103, allocations: 4.25 kB / 0.7368 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2104, allocations: 35.91 kB / 0.7368 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2107, allocations: 30.95 kB / 0.7368 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.2135, allocations: 1.973 MB / 0.7388 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2139, allocations: 0.7084 MB / 0.7395 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.886e-05/0.214, allocations: 12.64 kB / 0.7395 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.214, allocations: 39.42 kB / 0.7395 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.834e-06/0.214, allocations: 4 kB / 0.7395 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.2393, allocations: 3.342 MB / 0.7428 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.55, allocations: 10.12 kB / 0.7428 GB, free: 2.832 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.415710606961511] Failed to read output from testmodel.py, exit status != 0: 11.703760212054476 11.720527856 11.51611817 Calling exit ...