Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008373/0.0008373, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008452/0.0008452, allocations: 221.7 kB / 22.26 MB, free: 3.688 MB / 13.93 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 0.9854/0.9854, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7779/0.7779, allocations: 203.8 MB / 0.5042 GB, free: 10.78 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001388/0.001388, allocations: 73.83 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5556, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002222/0.5578, allocations: 1.86 MB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.5586, allocations: 0.5896 MB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.5587, allocations: 16.06 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.5589, allocations: 24.72 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.5589, allocations: 26.05 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.5591, allocations: 62.92 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.5593, allocations: 173.2 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.5595, allocations: 43.84 kB / 0.8206 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.5595, allocations: 52.03 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.5596, allocations: 63.19 kB / 0.8207 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.5597, allocations: 14.78 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.5597, allocations: 10.34 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.5597, allocations: 26.75 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.5598, allocations: 68.56 kB / 0.8208 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.56, allocations: 131 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.56, allocations: 0.6094 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.56, allocations: 0 / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.56, allocations: 5.219 kB / 0.8209 GB, free: 15.18 MB / 0.6198 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.0005973/0.5606, allocations: 436.2 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5606, allocations: 9.469 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.5607, allocations: 41.91 kB / 0.8214 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.5607, allocations: 17.75 kB / 0.8214 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.5609, allocations: 175.4 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.561, allocations: 9.906 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.561, allocations: 19.92 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.5612, allocations: 152.1 kB / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5612, allocations: 0 / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5612, allocations: 4.609 kB / 0.8218 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5612, allocations: 3.844 kB / 0.8218 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5613, allocations: 72.06 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.562, allocations: 0.7101 MB / 0.8225 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.5621, allocations: 47.31 kB / 0.8226 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.5622, allocations: 33.59 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.5622, allocations: 1.188 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.5624, allocations: 132.8 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 8.91e-07/0.5624, allocations: 0 / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002999/0.5627, allocations: 163.6 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5627, allocations: 135.8 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.5629, allocations: 207.2 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5629, allocations: 32.14 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.5629, allocations: 134.2 kB / 0.8234 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.563, allocations: 37.44 kB / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.563, allocations: 41.73 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.5631, allocations: 328.1 kB / 0.8238 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.5632, allocations: 37.97 kB / 0.8238 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5633, allocations: 149.3 kB / 0.8239 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.5635, allocations: 200.4 kB / 0.8241 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5635, allocations: 1.344 kB / 0.8241 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002385/0.5637, allocations: 208.1 kB / 0.8243 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5637, allocations: 6.781 kB / 0.8243 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.5637, allocations: 7.172 kB / 0.8244 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5638, allocations: 5.625 kB / 0.8244 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.5638, allocations: 30.33 kB / 0.8244 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.5638, allocations: 8.516 kB / 0.8244 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.5639, allocations: 25.58 kB / 0.8244 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.5639, allocations: 13.72 kB / 0.8244 GB, free: 12.29 MB / 0.6198 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 7.687e-05/0.564, allocations: 138.2 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.564, allocations: 21.17 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.5641, allocations: 21.78 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5641, allocations: 6.031 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5641, allocations: 1.031 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5641, allocations: 1.062 kB / 0.8246 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.5645, allocations: 0.4891 MB / 0.8251 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5645, allocations: 1.125 kB / 0.8251 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.5646, allocations: 15.8 kB / 0.8251 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5646, allocations: 2.297 kB / 0.8251 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5646, allocations: 6.062 kB / 0.8251 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5646, allocations: 5.484 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5646, allocations: 1.438 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.5649, allocations: 362.2 kB / 0.8255 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.5649, allocations: 19.34 kB / 0.8255 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.565, allocations: 10.52 kB / 0.8255 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.565, allocations: 19.06 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.5651, allocations: 19.17 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5651, allocations: 4.344 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.204e-05/0.5652, allocations: 142.3 kB / 0.8257 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5652, allocations: 0 / 0.8257 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002156/0.5654, allocations: 31.11 kB / 0.8257 GB, free: 11.3 MB / 0.6198 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.0005048/0.5659, allocations: 0.8992 MB / 0.8266 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.5661, allocations: 115.1 kB / 0.8267 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5661, allocations: 0 / 0.8267 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.5662, allocations: 47.62 kB / 0.8267 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.5666, allocations: 64.88 kB / 0.8268 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.5686, allocations: 2.281 MB / 0.829 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.5688, allocations: 0.7237 MB / 0.8297 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.5689, allocations: 15.44 kB / 0.8297 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.569, allocations: 50.89 kB / 0.8298 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.569, allocations: 0 / 0.8298 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.5907, allocations: 4.241 MB / 0.8339 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/7.111, allocations: 7.766 kB / 0.8339 GB, free: 7.188 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.187229074072093] Failed to read output from testmodel.py, exit status != 0: 7.191978225950152 7.204539782 6.641789587 Calling exit ...