Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.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.001701/0.001701, allocations: 109 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.002067/0.002067, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.516/1.516, 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.972/0.972, allocations: 150 MB / 464 MB, free: 10.55 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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_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.002086/0.002086, allocations: 71.17 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1797, allocations: 89.17 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003679/0.1834, allocations: 1.845 MB / 0.7309 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1848, allocations: 0.5883 MB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.185, allocations: 3.938 kB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1851, allocations: 27.73 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1853, allocations: 27.72 kB / 0.7316 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1855, allocations: 71.81 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1859, allocations: 171.5 kB / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.186, allocations: 38.06 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1861, allocations: 55.72 kB / 0.7319 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1862, allocations: 59.64 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1863, allocations: 12 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.349e-05/0.1863, allocations: 8 kB / 0.732 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.1863, allocations: 27.86 kB / 0.732 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1864, allocations: 67.59 kB / 0.732 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1867, allocations: 135.3 kB / 0.7322 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1867, allocations: 0 / 0.7322 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1867, allocations: 0 / 0.7322 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.1867, allocations: 4 kB / 0.7322 GB, free: 14.18 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008987/0.1876, allocations: 435.1 kB / 0.7326 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1876, allocations: 8.031 kB / 0.7326 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/0.1877, allocations: 4.188 kB / 0.7326 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.1877, allocations: 42.75 kB / 0.7326 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1878, allocations: 20.83 kB / 0.7327 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.1882, allocations: 182.1 kB / 0.7328 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1882, allocations: 8.375 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1882, allocations: 12.38 kB / 0.7329 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1886, allocations: 149.8 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1886, allocations: 3.938 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1886, allocations: 4 kB / 0.733 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1886, allocations: 4 kB / 0.733 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1889, allocations: 71.88 kB / 0.7331 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1899, allocations: 0.715 MB / 0.7338 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1901, allocations: 50.55 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1902, allocations: 32.78 kB / 0.7339 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1902, allocations: 7.938 kB / 0.7339 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.1905, allocations: 125.3 kB / 0.734 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.1905, allocations: 0 / 0.734 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005416/0.191, allocations: 169.6 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1911, allocations: 136.5 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1914, allocations: 199 kB / 0.7345 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1914, allocations: 25.7 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1915, allocations: 128 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.1916, allocations: 39.84 kB / 0.7347 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.1916, allocations: 41.77 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.1918, allocations: 330.8 kB / 0.735 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1919, allocations: 39.97 kB / 0.735 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1922, allocations: 154.2 kB / 0.7352 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1925, allocations: 202.3 kB / 0.7354 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1925, allocations: 3.984 kB / 0.7354 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004538/0.193, allocations: 205.2 kB / 0.7356 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.193, allocations: 4 kB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.193, allocations: 4 kB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.193, allocations: 8.5 kB / 0.7356 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1932, allocations: 43.91 kB / 0.7356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1932, allocations: 11.88 kB / 0.7357 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1934, allocations: 27.88 kB / 0.7357 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.1934, allocations: 8 kB / 0.7357 GB, free: 10.22 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001228/0.1935, allocations: 133.7 kB / 0.7358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1935, allocations: 19.91 kB / 0.7358 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.1936, allocations: 21.39 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1936, allocations: 8 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1936, allocations: 0 / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1936, allocations: 0 / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/0.1944, allocations: 492.6 kB / 0.7363 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1944, allocations: 4 kB / 0.7363 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1946, allocations: 15.98 kB / 0.7364 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1946, allocations: 7.938 kB / 0.7364 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1946, allocations: 4 kB / 0.7364 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1946, allocations: 3.938 kB / 0.7364 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1946, allocations: 0 / 0.7364 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.1951, allocations: 364.5 kB / 0.7367 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1952, allocations: 23.88 kB / 0.7367 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1952, allocations: 8 kB / 0.7367 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1954, allocations: 19.86 kB / 0.7368 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1954, allocations: 11.98 kB / 0.7368 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1954, allocations: 7.984 kB / 0.7368 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001268/0.1956, allocations: 140.6 kB / 0.7369 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1956, allocations: 4 kB / 0.7369 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003407/0.1959, allocations: 28 kB / 0.7369 GB, free: 8.852 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0008722/0.1968, allocations: 0.8882 MB / 0.7378 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.1971, allocations: 112.4 kB / 0.7379 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1971, allocations: 8.312 kB / 0.7379 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1973, allocations: 47.91 kB / 0.738 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.1979, allocations: 63.94 kB / 0.738 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.2008, allocations: 2.28 MB / 0.7403 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.2013, allocations: 0.7242 MB / 0.741 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.167e-05/0.2013, allocations: 17.48 kB / 0.741 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2015, allocations: 55.42 kB / 0.741 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.2015, allocations: 0 / 0.741 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.2292, allocations: 4.255 MB / 0.7452 GB, free: 340 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.7, allocations: 8.984 kB / 0.7452 GB, free: 336 kB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.663960650039371] Failed to read output from testmodel.py, exit status != 0: 11.874850201013032 11.89213736 11.701991379 Calling exit ...