Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0008408/0.0008408, allocations: 113.9 kB / 18.94 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.000867/0.000867, allocations: 217.2 kB / 22.26 MB, free: 3.695 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 1.03/1.03, allocations: 230.6 MB / 256 MB, free: 9.785 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.8024/0.8024, allocations: 203.8 MB / 0.5042 GB, free: 10.66 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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.0009021/0.0009021, allocations: 74.36 kB / 0.7183 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5448, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001338/0.5461, allocations: 0.5838 MB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.5463, allocations: 37.61 kB / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.5463, allocations: 0 / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.5464, allocations: 7.875 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.5464, allocations: 2.906 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.5466, allocations: 10.19 kB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.5467, allocations: 9.203 kB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.5467, allocations: 2.094 kB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.5468, allocations: 3.688 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.5468, allocations: 0.6562 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.5468, allocations: 0 / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.5469, allocations: 26.5 kB / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.5469, allocations: 9.172 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.547, allocations: 8.406 kB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.5471, allocations: 19.95 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5471, allocations: 0.75 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5471, allocations: 2.719 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.5471, allocations: 0 / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002335/0.5473, allocations: 284.2 kB / 0.8189 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5473, allocations: 10.81 kB / 0.8189 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.5474, allocations: 36.81 kB / 0.8189 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.5474, allocations: 4.844 kB / 0.8189 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.543e-05/0.5474, allocations: 103.2 kB / 0.819 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.5474, allocations: 384 / 0.819 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5475, allocations: 3.938 kB / 0.819 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5476, allocations: 57.05 kB / 0.8191 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5476, allocations: 3.938 kB / 0.8191 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5476, allocations: 7.703 kB / 0.8191 GB, free: 308 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.5476, allocations: 8.594 kB / 0.8191 GB, free: 304 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.5477, allocations: 27.12 kB / 0.8191 GB, free: 296 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.548, allocations: 236.1 kB / 0.8194 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.548, allocations: 17.52 kB / 0.8194 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.5481, allocations: 8.594 kB / 0.8194 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.5481, allocations: 0 / 0.8194 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.5481, allocations: 41.95 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.5481, allocations: 0 / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001893/0.5483, allocations: 71.14 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5484, allocations: 77.91 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5485, allocations: 123 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5485, allocations: 25.7 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.5485, allocations: 98.94 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.5485, allocations: 4.547 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.5486, allocations: 30.86 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5487, allocations: 322 kB / 0.8201 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.5487, allocations: 10.16 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-05/0.5488, allocations: 63.44 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.5489, allocations: 132.7 kB / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5489, allocations: 0 / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000143/0.549, allocations: 125 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.5491, allocations: 32.12 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5491, allocations: 5.594 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5491, allocations: 0 / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.5492, allocations: 11.86 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.5492, allocations: 10.92 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.5492, allocations: 8.578 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.5493, allocations: 9.438 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.431e-05/0.5494, allocations: 148.2 kB / 0.8207 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.5494, allocations: 1.688 kB / 0.8207 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.5494, allocations: 11.84 kB / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5494, allocations: 0 / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5494, allocations: 0.9844 kB / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5494, allocations: 0 / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.5495, allocations: 132.5 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5495, allocations: 0.7969 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.5495, allocations: 0 / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.5495, allocations: 0 / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5495, allocations: 6.125 kB / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.5495, allocations: 0 / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5495, allocations: 1.875 kB / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.15e-05/0.5496, allocations: 173.2 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.5496, allocations: 0.6094 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.5496, allocations: 2.25 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.5497, allocations: 0.6094 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.5497, allocations: 5.984 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.5497, allocations: 1.625 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.5497, allocations: 98.06 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5497, allocations: 0 / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000163/0.5499, allocations: 14.42 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003091/0.5502, allocations: 0.6996 MB / 0.8218 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.5503, allocations: 81.94 kB / 0.8219 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5503, allocations: 1.781 kB / 0.8219 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.5503, allocations: 60.27 kB / 0.8219 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.5505, allocations: 4.547 kB / 0.8219 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.5509, allocations: 150.5 kB / 0.8221 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.551, allocations: 0.6843 MB / 0.8227 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.213e-05/0.5511, allocations: 12.02 kB / 0.8228 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.5511, allocations: 10.62 kB / 0.8228 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5511, allocations: 3.938 kB / 0.8228 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.5652, allocations: 1.577 MB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.301/6.866, allocations: 13 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_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_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.997007384896278] Failed to read output from testmodel.py, exit status != 0: 6.947575700934976 6.960573862 6.411305784 Calling exit ...