Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001324/0.001324, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001597/0.001597, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002644/0.002644, allocations: 286.8 kB / 312.7 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.326/1.326, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002831/0.002831, allocations: 105.8 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2086, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003258/0.2119, allocations: 1.87 MB / 0.8346 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.213, allocations: 0.5844 MB / 0.8351 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2131, allocations: 7.875 kB / 0.8351 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2133, allocations: 31.73 kB / 0.8352 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.2134, allocations: 27.72 kB / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.2136, allocations: 67.81 kB / 0.8353 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2139, allocations: 171.5 kB / 0.8354 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.214, allocations: 38.06 kB / 0.8355 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.2141, allocations: 55.72 kB / 0.8355 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.2142, allocations: 59.64 kB / 0.8356 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2142, allocations: 12 kB / 0.8356 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.2142, allocations: 12 kB / 0.8356 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.2143, allocations: 31.84 kB / 0.8356 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.2143, allocations: 63.61 kB / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2146, allocations: 135.3 kB / 0.8358 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2146, allocations: 3.984 kB / 0.8358 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2146, allocations: 0 / 0.8358 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2146, allocations: 0 / 0.8358 GB, free: 5.457 MB / 0.5762 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.0007714/0.2153, allocations: 427.2 kB / 0.8362 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2154, allocations: 13.94 kB / 0.8362 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2154, allocations: 38.75 kB / 0.8363 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.2155, allocations: 28.78 kB / 0.8363 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.2158, allocations: 174.2 kB / 0.8365 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2158, allocations: 8.375 kB / 0.8365 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.2159, allocations: 12.38 kB / 0.8365 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.2162, allocations: 148.5 kB / 0.8366 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2162, allocations: 0 / 0.8366 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2162, allocations: 8 kB / 0.8366 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.2162, allocations: 3.938 kB / 0.8366 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.2164, allocations: 75.81 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/0.2174, allocations: 0.7112 MB / 0.8374 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2176, allocations: 54.53 kB / 0.8375 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2177, allocations: 32.78 kB / 0.8375 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2177, allocations: 0 / 0.8375 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.218, allocations: 134.7 kB / 0.8376 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.218, allocations: 0 / 0.8376 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005038/0.2185, allocations: 161.3 kB / 0.8378 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.2186, allocations: 132.5 kB / 0.8379 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.2188, allocations: 200 kB / 0.8381 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2188, allocations: 33.95 kB / 0.8381 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.2189, allocations: 132 kB / 0.8383 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.219, allocations: 35.88 kB / 0.8383 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.219, allocations: 41.7 kB / 0.8383 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2192, allocations: 330.8 kB / 0.8386 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2193, allocations: 36.22 kB / 0.8387 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2195, allocations: 153.1 kB / 0.8388 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.2199, allocations: 206.4 kB / 0.839 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2199, allocations: 4 kB / 0.839 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004139/0.2203, allocations: 197.7 kB / 0.8392 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2203, allocations: 12 kB / 0.8392 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2203, allocations: 4 kB / 0.8392 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2203, allocations: 4 kB / 0.8392 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2205, allocations: 39.91 kB / 0.8393 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2205, allocations: 4 kB / 0.8393 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2206, allocations: 27.83 kB / 0.8393 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2206, allocations: 15.94 kB / 0.8393 GB, free: 1.516 MB / 0.5762 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.000136/0.2208, allocations: 142.3 kB / 0.8395 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.2208, allocations: 15.91 kB / 0.8395 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.2209, allocations: 21.39 kB / 0.8395 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.2209, allocations: 4 kB / 0.8395 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2209, allocations: 0 / 0.8395 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2209, allocations: 0 / 0.8395 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.2217, allocations: 0.4927 MB / 0.84 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2217, allocations: 0 / 0.84 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.2218, allocations: 19.98 kB / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2218, allocations: 0 / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2218, allocations: 4 kB / 0.84 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2218, allocations: 3.938 kB / 0.84 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2218, allocations: 4 kB / 0.84 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.2224, allocations: 356.3 kB / 0.8403 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2225, allocations: 32.14 kB / 0.8404 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.2225, allocations: 4 kB / 0.8404 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2227, allocations: 15.92 kB / 0.8404 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.2227, allocations: 15.98 kB / 0.8404 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2227, allocations: 15.86 kB / 0.8404 GB, free: 304 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001213/0.2229, allocations: 143.4 kB / 0.8406 GB, free: 160 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2229, allocations: 0 / 0.8406 GB, free: 160 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003205/0.2232, allocations: 28 kB / 0.8406 GB, free: 132 kB / 0.5762 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.0008735/0.2241, allocations: 0.9008 MB / 0.8415 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.2244, allocations: 112.1 kB / 0.8416 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2244, allocations: 7.938 kB / 0.8416 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2245, allocations: 39.92 kB / 0.8416 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.2251, allocations: 75.11 kB / 0.8417 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.2279, allocations: 2.263 MB / 0.8439 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.2282, allocations: 0.7203 MB / 0.8446 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.963e-05/0.2283, allocations: 21.61 kB / 0.8446 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.2284, allocations: 51.42 kB / 0.8447 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.2284, allocations: 0 / 0.8447 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.263, allocations: 4.262 MB / 0.8488 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.24, allocations: 4 kB / 0.8488 GB, free: 7.602 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.594739758875221] Failed to read output from testmodel.py, exit status != 0: 11.345386937027797 11.370146054 11.151135909 Calling exit ...