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.001266/0.001266, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009708/0.0009708, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9269/0.9269, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.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.7759/0.7759, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.681e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002491/0.002518, allocations: 1.792 MB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.003652, allocations: 0.5455 MB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.003778, allocations: 3.938 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.003925, allocations: 27.72 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.003992, allocations: 27.67 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004223, allocations: 71.84 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.004419, allocations: 171.4 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.004571, allocations: 41.77 kB / 0.6207 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.004678, allocations: 79.8 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.004743, allocations: 35.83 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.004774, allocations: 8 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.004788, allocations: 12 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.004821, allocations: 31.84 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.004867, allocations: 43.84 kB / 0.6209 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005041, allocations: 135.4 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.005046, allocations: 4 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005048, allocations: 0 / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.005053, allocations: 4 kB / 0.621 GB, free: 10.71 MB / 0.5886 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.0006065/0.00566, allocations: 423.2 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.005708, allocations: 9.469 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.005748, allocations: 42.73 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.005789, allocations: 24.8 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.006066, allocations: 173.4 kB / 0.6216 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.00608, allocations: 12.38 kB / 0.6217 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.006106, allocations: 12.38 kB / 0.6217 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.006356, allocations: 145.9 kB / 0.6218 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006365, allocations: 192 / 0.6218 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.006381, allocations: 8.125 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.006387, allocations: 4 kB / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.006526, allocations: 71.81 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.007288, allocations: 0.684 MB / 0.6226 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.007402, allocations: 50.55 kB / 0.6226 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.00746, allocations: 24.84 kB / 0.6226 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.007484, allocations: 4 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.007672, allocations: 134.8 kB / 0.6228 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.007673, allocations: 4 kB / 0.6228 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003562/0.008029, allocations: 165.3 kB / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.008107, allocations: 136.5 kB / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.008274, allocations: 203 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.008293, allocations: 29.7 kB / 0.6233 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.008374, allocations: 127.9 kB / 0.6234 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.008402, allocations: 35.69 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.008456, allocations: 45.95 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.008555, allocations: 330.8 kB / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.008647, allocations: 43.97 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.008757, allocations: 138.5 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.008955, allocations: 198.4 kB / 0.6242 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.00896, allocations: 11.94 kB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002639/0.009224, allocations: 213.8 kB / 0.6244 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.009242, allocations: 12.03 kB / 0.6244 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.009249, allocations: 4 kB / 0.6244 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.009265, allocations: 4 kB / 0.6244 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.009346, allocations: 31.92 kB / 0.6244 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.009357, allocations: 7.984 kB / 0.6244 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.009436, allocations: 27.88 kB / 0.6245 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.009448, allocations: 8 kB / 0.6245 GB, free: 6.809 MB / 0.5886 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.0001177/0.009566, allocations: 138.7 kB / 0.6246 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.009584, allocations: 15.91 kB / 0.6246 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.009621, allocations: 25.45 kB / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.009625, allocations: 4 kB / 0.6246 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.00963, allocations: 0 / 0.6246 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.009635, allocations: 4 kB / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.01019, allocations: 488.8 kB / 0.6251 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0102, allocations: 0 / 0.6251 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.01027, allocations: 15.98 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.01027, allocations: 4 kB / 0.6251 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01029, allocations: 11.98 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01029, allocations: 4 kB / 0.6251 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01029, allocations: 3.938 kB / 0.6251 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.01063, allocations: 352.2 kB / 0.6255 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.01066, allocations: 19.86 kB / 0.6255 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.01068, allocations: 4 kB / 0.6255 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.01077, allocations: 12.03 kB / 0.6255 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.01082, allocations: 23.91 kB / 0.6255 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01083, allocations: 4 kB / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.286e-05/0.01092, allocations: 152.1 kB / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 0 / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002401/0.01116, allocations: 28 kB / 0.6257 GB, free: 5.445 MB / 0.5886 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.0006836/0.01185, allocations: 0.8889 MB / 0.6266 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.01215, allocations: 119.8 kB / 0.6267 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01216, allocations: 3.938 kB / 0.6267 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.01227, allocations: 49.03 kB / 0.6267 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.01275, allocations: 71.42 kB / 0.6268 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.01526, allocations: 2.242 MB / 0.629 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01537, allocations: 112.2 kB / 0.6291 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.01548, allocations: 21.67 kB / 0.6291 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.01557, allocations: 56.42 kB / 0.6292 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of SimCode: time 2.935e-06/0.01558, allocations: 0 / 0.6292 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.04243, allocations: 4.903 MB / 0.634 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.188, allocations: 4.984 kB / 0.634 GB, free: 12.96 MB / 0.6042 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.156897912733257] Failed to read output from testmodel.py, exit status != 0: 7.275084632448852 7.284131802 7.277274661 Calling exit ...