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.001813/0.001813, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.002204/0.002204, allocations: 225 kB / 23.01 MB, free: 5.043 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.653/1.653, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9752/0.9752, allocations: 150 MB / 463.2 MB, free: 10.48 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.002114/0.002114, allocations: 68.09 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1866, allocations: 89.18 MB / 0.7284 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003421/0.19, allocations: 1.845 MB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1913, allocations: 0.5883 MB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1914, allocations: 7.938 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1916, allocations: 19.73 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1917, allocations: 31.72 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1919, allocations: 71.8 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1922, allocations: 171.5 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1924, allocations: 34.06 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1925, allocations: 63.66 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.1925, allocations: 59.7 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1926, allocations: 8 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.1926, allocations: 12 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1926, allocations: 31.84 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.1927, allocations: 67.59 kB / 0.7313 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1929, allocations: 131.3 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1929, allocations: 0 / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1929, allocations: 0 / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.1929, allocations: 4 kB / 0.7314 GB, free: 14.09 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.0007564/0.1937, allocations: 427.1 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1937, allocations: 12.03 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.1938, allocations: 42.73 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1938, allocations: 20.84 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.1941, allocations: 182.1 kB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1942, allocations: 8.375 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1942, allocations: 12.38 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.1945, allocations: 150.1 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1945, allocations: 7.875 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1945, allocations: 7.984 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.1945, allocations: 4 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1948, allocations: 67.89 kB / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.1957, allocations: 0.7151 MB / 0.733 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1959, allocations: 42.55 kB / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.196, allocations: 32.83 kB / 0.7331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.196, allocations: 0 / 0.7331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.1962, allocations: 130.7 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1962, allocations: 0 / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0004835/0.1967, allocations: 169.6 kB / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.1968, allocations: 136.4 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.197, allocations: 199 kB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.197, allocations: 33.69 kB / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.1971, allocations: 120 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1972, allocations: 47.83 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.1972, allocations: 37.7 kB / 0.7339 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1974, allocations: 330.8 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1975, allocations: 39.97 kB / 0.7343 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.1977, allocations: 152.3 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.198, allocations: 198.4 kB / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.198, allocations: 0 / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004118/0.1985, allocations: 209.1 kB / 0.7348 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1985, allocations: 10.97 kB / 0.7348 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1985, allocations: 4 kB / 0.7348 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1985, allocations: 4 kB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1986, allocations: 36.66 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.1986, allocations: 11.94 kB / 0.7349 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1988, allocations: 35.88 kB / 0.7349 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1988, allocations: 11.94 kB / 0.7349 GB, free: 10.14 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.000125/0.1989, allocations: 134 kB / 0.735 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.199, allocations: 19.89 kB / 0.7351 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.199, allocations: 25.39 kB / 0.7351 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.199, allocations: 3.938 kB / 0.7351 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.199, allocations: 4 kB / 0.7351 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.199, allocations: 7.984 kB / 0.7351 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.1998, allocations: 488.6 kB / 0.7356 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1998, allocations: 4 kB / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1999, allocations: 15.98 kB / 0.7356 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1999, allocations: 0 / 0.7356 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1999, allocations: 7.984 kB / 0.7356 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1999, allocations: 11.94 kB / 0.7356 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2, allocations: 3.938 kB / 0.7356 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.2005, allocations: 358.5 kB / 0.736 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2005, allocations: 19.84 kB / 0.736 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2006, allocations: 0 / 0.736 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2007, allocations: 19.97 kB / 0.736 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.2008, allocations: 19.91 kB / 0.736 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2008, allocations: 4 kB / 0.736 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001344/0.2009, allocations: 140.6 kB / 0.7361 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2009, allocations: 0 / 0.7361 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003375/0.2013, allocations: 32 kB / 0.7362 GB, free: 8.77 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.0008374/0.2021, allocations: 0.8906 MB / 0.737 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.2024, allocations: 119.7 kB / 0.7372 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2024, allocations: 1 kB / 0.7372 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2026, allocations: 52.03 kB / 0.7372 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.2031, allocations: 54.98 kB / 0.7373 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.2059, allocations: 2.276 MB / 0.7395 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2063, allocations: 0.7242 MB / 0.7402 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.31e-05/0.2064, allocations: 17.89 kB / 0.7402 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.2065, allocations: 51.42 kB / 0.7403 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.2065, allocations: 4 kB / 0.7403 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.2419, allocations: 4.232 MB / 0.7444 GB, free: 268 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.39, allocations: 9.609 kB / 0.7444 GB, free: 264 kB / 0.5606 GB " [Timeout remaining time 649] (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.384432827821001] Failed to read output from testmodel.py, exit status != 0: 11.498674269998446 11.529206926 11.330592396 Calling exit ...