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.001668/0.001668, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001841/0.001841, allocations: 203.1 kB / 20.8 MB, free: 2.371 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.552/1.552, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.022/1.022, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.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.002895/0.002895, allocations: 74.16 kB / 0.6368 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1827, allocations: 89.14 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003371/0.1861, allocations: 1.833 MB / 0.7256 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1873, allocations: 0.5766 MB / 0.7262 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1875, allocations: 3.938 kB / 0.7262 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1876, allocations: 27.67 kB / 0.7262 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1877, allocations: 31.72 kB / 0.7263 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.188, allocations: 67.86 kB / 0.7263 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.1883, allocations: 175.5 kB / 0.7265 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1884, allocations: 29.95 kB / 0.7265 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1885, allocations: 63.72 kB / 0.7266 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.1886, allocations: 55.69 kB / 0.7266 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.1887, allocations: 12 kB / 0.7267 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/0.1887, allocations: 8 kB / 0.7267 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1887, allocations: 31.86 kB / 0.7267 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.1888, allocations: 63.59 kB / 0.7268 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.189, allocations: 135.3 kB / 0.7269 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.189, allocations: 0 / 0.7269 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.189, allocations: 0 / 0.7269 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.189, allocations: 0 / 0.7269 GB, free: 0.9102 MB / 0.5294 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.0008167/0.1899, allocations: 486.5 kB / 0.7273 GB, free: 396 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1899, allocations: 8.031 kB / 0.7274 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/0.1899, allocations: 4.188 kB / 0.7274 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.19, allocations: 46.73 kB / 0.7274 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.19, allocations: 20.84 kB / 0.7274 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1904, allocations: 240 kB / 0.7277 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1904, allocations: 8.375 kB / 0.7277 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1904, allocations: 16.38 kB / 0.7277 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.1908, allocations: 141.9 kB / 0.7278 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1908, allocations: 7.938 kB / 0.7278 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1908, allocations: 7.984 kB / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1908, allocations: 4 kB / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1911, allocations: 67.89 kB / 0.7279 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1921, allocations: 0.7394 MB / 0.7286 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1922, allocations: 46.55 kB / 0.7287 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1924, allocations: 32.84 kB / 0.7287 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1924, allocations: 7.938 kB / 0.7287 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.1927, allocations: 129.8 kB / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1927, allocations: 0 / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005547/0.1932, allocations: 169.6 kB / 0.729 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1933, allocations: 128.5 kB / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1936, allocations: 203 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1936, allocations: 29.7 kB / 0.7293 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1937, allocations: 128.1 kB / 0.7295 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1938, allocations: 35.72 kB / 0.7295 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.1938, allocations: 45.7 kB / 0.7295 GB, free: 13.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.194, allocations: 338.8 kB / 0.7299 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1941, allocations: 43.91 kB / 0.7299 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.1944, allocations: 144.4 kB / 0.73 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.1948, allocations: 198.6 kB / 0.7302 GB, free: 13.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1948, allocations: 0 / 0.7302 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004642/0.1952, allocations: 217.1 kB / 0.7304 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1952, allocations: 8 kB / 0.7304 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1953, allocations: 4 kB / 0.7304 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1953, allocations: 4 kB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1954, allocations: 32.42 kB / 0.7305 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.1954, allocations: 15.98 kB / 0.7305 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1956, allocations: 27.88 kB / 0.7305 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1956, allocations: 11.94 kB / 0.7305 GB, free: 12.78 MB / 0.545 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.0001461/0.1958, allocations: 133.7 kB / 0.7307 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1958, allocations: 15.91 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.1958, allocations: 25.39 kB / 0.7307 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1958, allocations: 3.938 kB / 0.7307 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1959, allocations: 4 kB / 0.7307 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1959, allocations: 4 kB / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009377/0.1968, allocations: 0.5096 MB / 0.7312 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1968, allocations: 4.062 kB / 0.7312 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1969, allocations: 15.98 kB / 0.7312 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1969, allocations: 4 kB / 0.7312 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1969, allocations: 4 kB / 0.7312 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.394e-05/0.197, allocations: 7.938 kB / 0.7312 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.197, allocations: 3.938 kB / 0.7312 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.1976, allocations: 364.3 kB / 0.7316 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.1977, allocations: 97.05 kB / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1977, allocations: 0 / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1979, allocations: 19.92 kB / 0.7317 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.198, allocations: 11.92 kB / 0.7317 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.198, allocations: 4 kB / 0.7317 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001403/0.1981, allocations: 144.6 kB / 0.7319 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1981, allocations: 0 / 0.7319 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003537/0.1985, allocations: 32 kB / 0.7319 GB, free: 11.28 MB / 0.545 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.0009105/0.1994, allocations: 0.9005 MB / 0.7328 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.1998, allocations: 108.7 kB / 0.7329 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1998, allocations: 0 / 0.7329 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1999, allocations: 51.97 kB / 0.7329 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.2005, allocations: 72.72 kB / 0.733 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.2037, allocations: 2.275 MB / 0.7352 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2041, allocations: 0.7203 MB / 0.7359 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000124/0.2042, allocations: 25.66 kB / 0.7359 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.2043, allocations: 55.42 kB / 0.736 GB, free: 6.832 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/0.2043, allocations: 4 kB / 0.736 GB, free: 6.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.2283, allocations: 4.088 MB / 0.74 GB, free: 2.871 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.545/8.773, allocations: 5.781 kB / 0.74 GB, free: 2.867 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.867378807044588] Failed to read output from testmodel.py, exit status != 0: 8.908837934955955 8.933270324 8.740468383 Calling exit ...