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.001748/0.001748, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002683/0.002683, allocations: 210.3 kB / 23.78 MB, free: 4.555 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.9711/0.9711, allocations: 150 MB / 463.9 MB, free: 10.22 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.002067/0.002067, allocations: 62.5 kB / 0.642 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2087, allocations: 89.19 MB / 0.7291 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002638/0.2113, allocations: 0.8326 MB / 0.7299 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2135, allocations: 1.19 MB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.2136, allocations: 4 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.2136, allocations: 11.86 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2137, allocations: 19.73 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.2144, allocations: 157.7 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2147, allocations: 163.7 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.2149, allocations: 29.28 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.215, allocations: 63.84 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2151, allocations: 71.78 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.2152, allocations: 19.94 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.2153, allocations: 23.98 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.2153, allocations: 23.92 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2154, allocations: 55.83 kB / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.2158, allocations: 175.5 kB / 0.7319 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2158, allocations: 0 / 0.7319 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2158, allocations: 0 / 0.7319 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2158, allocations: 0 / 0.7319 GB, free: 13.96 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.0009163/0.2167, allocations: 418 kB / 0.7323 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2167, allocations: 16.03 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.2168, allocations: 192 / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.2168, allocations: 42.73 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.2169, allocations: 12.89 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.2176, allocations: 190.3 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2176, allocations: 12.38 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2176, allocations: 12.38 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.2179, allocations: 93.77 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.218, allocations: 3.938 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.218, allocations: 4 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.218, allocations: 0 / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.2182, allocations: 47.95 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.2192, allocations: 335.6 kB / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2193, allocations: 42.55 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2195, allocations: 28.91 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2195, allocations: 0 / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.2198, allocations: 103.3 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.2199, allocations: 0 / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005875/0.2204, allocations: 137.4 kB / 0.7333 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.2205, allocations: 63.41 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2207, allocations: 135.2 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.2207, allocations: 33.7 kB / 0.7335 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2209, allocations: 112.1 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2209, allocations: 27.8 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.221, allocations: 45.69 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2212, allocations: 322.8 kB / 0.734 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.2215, allocations: 77.67 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.2218, allocations: 164.8 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.2223, allocations: 204.6 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2223, allocations: 4 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007383/0.223, allocations: 281 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.2231, allocations: 33.7 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2231, allocations: 4 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.2231, allocations: 7.938 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.2233, allocations: 23.92 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.2233, allocations: 7.984 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.2236, allocations: 44.23 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.2237, allocations: 8 kB / 0.7348 GB, free: 10.6 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.0001816/0.2238, allocations: 144 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2239, allocations: 11.91 kB / 0.735 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.2239, allocations: 12.66 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.2239, allocations: 7.938 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2239, allocations: 0 / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.224, allocations: 3.984 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.2248, allocations: 353.6 kB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2248, allocations: 3.938 kB / 0.7353 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2249, allocations: 23.92 kB / 0.7353 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2249, allocations: 0 / 0.7353 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.225, allocations: 0 / 0.7353 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.225, allocations: 4 kB / 0.7354 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.225, allocations: 0 / 0.7354 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.2256, allocations: 243.3 kB / 0.7356 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.2256, allocations: 15.83 kB / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2256, allocations: 0 / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2257, allocations: 16.03 kB / 0.7356 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.2258, allocations: 7.984 kB / 0.7356 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2258, allocations: 4 kB / 0.7356 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.746e-05/0.2259, allocations: 101.3 kB / 0.7357 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2259, allocations: 4 kB / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00044/0.2264, allocations: 35.92 kB / 0.7358 GB, free: 9.551 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.001003/0.2274, allocations: 0.7828 MB / 0.7365 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.2279, allocations: 200.8 kB / 0.7367 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.2279, allocations: 3.984 kB / 0.7367 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2281, allocations: 31.98 kB / 0.7368 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.2285, allocations: 30.91 kB / 0.7368 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.2323, allocations: 2.095 MB / 0.7388 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2324, allocations: 93.62 kB / 0.7389 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.462e-05/0.2325, allocations: 16.64 kB / 0.7389 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.2326, allocations: 35.42 kB / 0.739 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.2326, allocations: 0 / 0.739 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.2651, allocations: 3.469 MB / 0.7424 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.66, allocations: 12.08 kB / 0.7424 GB, free: 2.738 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.606338127981871] Failed to read output from testmodel.py, exit status != 0: 11.83144532609731 11.8534392 11.633428892 Calling exit ...