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.001377/0.001377, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001584/0.001584, allocations: 219.6 kB / 23 MB, free: 4.969 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.005/1.005, allocations: 149.9 MB / 463.1 MB, free: 10.35 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_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.002145/0.002145, allocations: 67.73 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1827, allocations: 89.17 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003227/0.186, allocations: 1.774 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1871, allocations: 0.5455 MB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.1872, allocations: 7.938 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1873, allocations: 23.73 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.1874, allocations: 27.72 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1876, allocations: 75.84 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1878, allocations: 171.5 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1879, allocations: 34.06 kB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.188, allocations: 55.73 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.1881, allocations: 55.62 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1881, allocations: 12 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.1882, allocations: 12 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.1882, allocations: 23.92 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.1883, allocations: 55.66 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1885, allocations: 135.3 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1885, allocations: 4 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1885, allocations: 0 / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1885, allocations: 7.938 kB / 0.7311 GB, free: 14 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.0007445/0.1892, allocations: 427.1 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1893, allocations: 12.03 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.1893, allocations: 42.73 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1894, allocations: 16.84 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1897, allocations: 178.2 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1897, allocations: 12.31 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1897, allocations: 12.38 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.19, allocations: 157.2 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.19, allocations: 4 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1901, allocations: 7.984 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1901, allocations: 4 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.1903, allocations: 63.89 kB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1914, allocations: 0.6995 MB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1915, allocations: 42.5 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1916, allocations: 36.83 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1917, allocations: 0 / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.1919, allocations: 122.7 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1919, allocations: 4 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005197/0.1924, allocations: 165.4 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1925, allocations: 136.5 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1927, allocations: 199 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1927, allocations: 33.7 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.1928, allocations: 128.1 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.1929, allocations: 35.98 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.193, allocations: 45.7 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1931, allocations: 326.8 kB / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1932, allocations: 39.91 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1935, allocations: 148.2 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1938, allocations: 206.3 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1938, allocations: 4 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004089/0.1942, allocations: 201.6 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1942, allocations: 16.02 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1942, allocations: 7.938 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1943, allocations: 4 kB / 0.7345 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1944, allocations: 31.92 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1944, allocations: 7.938 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1946, allocations: 27.88 kB / 0.7346 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1946, allocations: 8 kB / 0.7346 GB, free: 10.08 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.0001256/0.1947, allocations: 145.6 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1947, allocations: 19.91 kB / 0.7347 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.1948, allocations: 17.41 kB / 0.7347 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1948, allocations: 11.92 kB / 0.7348 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1948, allocations: 0 / 0.7348 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1948, allocations: 4 kB / 0.7348 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.1956, allocations: 476.9 kB / 0.7352 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1956, allocations: 0 / 0.7352 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1957, allocations: 23.92 kB / 0.7352 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.1957, allocations: 12.03 kB / 0.7352 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1957, allocations: 0 / 0.7352 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1957, allocations: 7.938 kB / 0.7353 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1957, allocations: 320 / 0.7353 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.1963, allocations: 360.8 kB / 0.7356 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.1963, allocations: 19.88 kB / 0.7356 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1963, allocations: 12 kB / 0.7356 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.1966, allocations: 15.92 kB / 0.7356 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.1967, allocations: 15.98 kB / 0.7357 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1967, allocations: 7.984 kB / 0.7357 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001268/0.1968, allocations: 136.6 kB / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1968, allocations: 0 / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003508/0.1971, allocations: 32 kB / 0.7358 GB, free: 8.707 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.0008601/0.198, allocations: 0.8934 MB / 0.7367 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.1983, allocations: 111.7 kB / 0.7368 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1983, allocations: 0 / 0.7368 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1985, allocations: 48.97 kB / 0.7368 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.1991, allocations: 77.19 kB / 0.7369 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.2021, allocations: 2.272 MB / 0.7391 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2022, allocations: 112.1 kB / 0.7392 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.707e-05/0.2023, allocations: 21.84 kB / 0.7393 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.2024, allocations: 51.42 kB / 0.7393 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2024, allocations: 0 / 0.7393 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.2362, allocations: 4.768 MB / 0.744 GB, free: 328 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.57, allocations: 0 / 0.744 GB, free: 328 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.384906894993037] Failed to read output from testmodel.py, exit status != 0: 11.685685238800943 11.70709383 11.51542221 Calling exit ...