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.001399/0.001399, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001805/0.001805, allocations: 212.4 kB / 22.99 MB, free: 4.605 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.034/1.034, allocations: 149.9 MB / 463.1 MB, free: 10.34 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.002149/0.002149, allocations: 66.11 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2087, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002169/0.2108, allocations: 0.8296 MB / 0.729 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2127, allocations: 1.198 MB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.2128, allocations: 4 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.2128, allocations: 7.875 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.2129, allocations: 11.81 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.2135, allocations: 159.3 kB / 0.7304 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.2138, allocations: 163.7 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2139, allocations: 25.28 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.214, allocations: 67.83 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.2141, allocations: 63.73 kB / 0.7307 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.2142, allocations: 16 kB / 0.7307 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.2143, allocations: 23.98 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.2143, allocations: 27.92 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.2144, allocations: 59.75 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.2146, allocations: 167.6 kB / 0.731 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2146, allocations: 4 kB / 0.731 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2146, allocations: 0 / 0.731 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2146, allocations: 0 / 0.731 GB, free: 14.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.0007523/0.2154, allocations: 422 kB / 0.7314 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2154, allocations: 12.03 kB / 0.7314 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.2155, allocations: 38.75 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.2155, allocations: 16.88 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.2161, allocations: 190.3 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2161, allocations: 8.375 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.2161, allocations: 16.38 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.2164, allocations: 91.5 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2164, allocations: 0 / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2164, allocations: 8 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2164, allocations: 0 / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.2166, allocations: 47.95 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.2174, allocations: 335.6 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.2175, allocations: 38.55 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.2176, allocations: 24.97 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2177, allocations: 7.984 kB / 0.7322 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.218, allocations: 107.2 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.218, allocations: 0 / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004526/0.2184, allocations: 133.5 kB / 0.7324 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.2185, allocations: 63.34 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2186, allocations: 143.5 kB / 0.7326 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.2186, allocations: 29.7 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.2187, allocations: 112.1 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2188, allocations: 23.81 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.2188, allocations: 49.69 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.219, allocations: 322.8 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2192, allocations: 81.66 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.2194, allocations: 156.8 kB / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.2198, allocations: 204.7 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.2198, allocations: 11.88 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005188/0.2203, allocations: 269 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.2204, allocations: 37.77 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2204, allocations: 0 / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2204, allocations: 7.984 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2205, allocations: 31.86 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2205, allocations: 4 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2207, allocations: 39.86 kB / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.2208, allocations: 15.98 kB / 0.7339 GB, free: 10.83 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.0001384/0.2209, allocations: 131.9 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.2209, allocations: 11.91 kB / 0.7341 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.221, allocations: 16.7 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.221, allocations: 3.938 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.221, allocations: 0 / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.221, allocations: 4 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.2216, allocations: 365.8 kB / 0.7344 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2216, allocations: 0 / 0.7344 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-05/0.2217, allocations: 19.92 kB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2217, allocations: 4 kB / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2217, allocations: 0 / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2217, allocations: 0 / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2217, allocations: 0 / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.2221, allocations: 247.3 kB / 0.7347 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.2222, allocations: 11.89 kB / 0.7347 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2222, allocations: 4 kB / 0.7347 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.2223, allocations: 15.97 kB / 0.7347 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.2223, allocations: 7.984 kB / 0.7347 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2223, allocations: 4 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.179e-05/0.2224, allocations: 109 kB / 0.7348 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2224, allocations: 0 / 0.7348 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002911/0.2227, allocations: 28 kB / 0.7349 GB, free: 9.793 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.0008034/0.2235, allocations: 0.7864 MB / 0.7356 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.2239, allocations: 196.9 kB / 0.7358 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2239, allocations: 0 / 0.7358 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2241, allocations: 36.19 kB / 0.7359 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2244, allocations: 28.8 kB / 0.7359 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.2273, allocations: 2.097 MB / 0.7379 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2275, allocations: 97.61 kB / 0.738 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.2275, allocations: 12.66 kB / 0.738 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.2276, allocations: 35.42 kB / 0.7381 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.2276, allocations: 0 / 0.7381 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.2625, allocations: 3.83 MB / 0.7418 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.46, allocations: 11.52 kB / 0.7418 GB, free: 2.605 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.473121622111648] Failed to read output from testmodel.py, exit status != 0: 11.566636759787798 11.584718127 11.36680141 Calling exit ...