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.0008137/0.0008137, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008751/0.0008751, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.598 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.8111/0.8111, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001427/0.001427, allocations: 65.27 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5193, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001389/0.5207, allocations: 0.6014 MB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.5209, allocations: 35.34 kB / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.5209, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.521, allocations: 0 / 0.8185 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.521, allocations: 4.594 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.5212, allocations: 10.16 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.5213, allocations: 4.406 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.5213, allocations: 6.953 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.5214, allocations: 4.656 kB / 0.8185 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.5214, allocations: 2.656 kB / 0.8185 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.5214, allocations: 0 / 0.8185 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.5215, allocations: 19.98 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.5215, allocations: 8.766 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.5216, allocations: 3.031 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.5217, allocations: 31.11 kB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5217, allocations: 0 / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5217, allocations: 0 / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5217, allocations: 0 / 0.8185 GB, free: 0.6094 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.0002408/0.5219, allocations: 283.5 kB / 0.8188 GB, free: 316 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.522, allocations: 9.188 kB / 0.8188 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.522, allocations: 39.14 kB / 0.8189 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.522, allocations: 0.9375 kB / 0.8189 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.258e-05/0.522, allocations: 107.1 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.5221, allocations: 384 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.5221, allocations: 384 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.5222, allocations: 92.92 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.5222, allocations: 6.062 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.5222, allocations: 0 / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.5222, allocations: 10.97 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.5223, allocations: 54.09 kB / 0.8191 GB, free: 16 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.5226, allocations: 230.8 kB / 0.8193 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.477e-05/0.5226, allocations: 48.33 kB / 0.8194 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.5226, allocations: 33.75 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.5226, allocations: 0 / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.5227, allocations: 35.53 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.5227, allocations: 0 / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001709/0.5228, allocations: 126.1 kB / 0.8196 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.5229, allocations: 78.52 kB / 0.8196 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.523, allocations: 125.4 kB / 0.8198 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.523, allocations: 26.41 kB / 0.8198 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.523, allocations: 105.3 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/0.523, allocations: 4.469 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.5231, allocations: 22.62 kB / 0.8199 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.5231, allocations: 322.4 kB / 0.8202 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.5232, allocations: 34.48 kB / 0.8203 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.5232, allocations: 90.47 kB / 0.8203 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.591e-05/0.5233, allocations: 140 kB / 0.8205 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5233, allocations: 0 / 0.8205 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001158/0.5234, allocations: 142 kB / 0.8206 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.5235, allocations: 39.23 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5235, allocations: 3.625 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5235, allocations: 2.078 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.5235, allocations: 13.72 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5236, allocations: 4.594 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.5236, allocations: 12.17 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5236, allocations: 6.406 kB / 0.8207 GB, free: 14.37 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 7.06e-05/0.5237, allocations: 152.1 kB / 0.8208 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.5237, allocations: 1.109 kB / 0.8208 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.5237, allocations: 10.22 kB / 0.8208 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5237, allocations: 4 kB / 0.8209 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5237, allocations: 3.641 kB / 0.8209 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5237, allocations: 3.938 kB / 0.8209 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/0.5238, allocations: 129 kB / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5238, allocations: 4.609 kB / 0.821 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.5238, allocations: 0 / 0.821 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.5238, allocations: 0 / 0.821 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5238, allocations: 0.9844 kB / 0.821 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.5238, allocations: 0 / 0.821 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5238, allocations: 1.094 kB / 0.821 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.524, allocations: 204.6 kB / 0.8212 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.524, allocations: 0 / 0.8212 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.524, allocations: 4.5 kB / 0.8212 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.524, allocations: 1.266 kB / 0.8212 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.524, allocations: 0 / 0.8212 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.524, allocations: 2.438 kB / 0.8212 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.5241, allocations: 98.81 kB / 0.8213 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5241, allocations: 0 / 0.8213 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001631/0.5242, allocations: 10.78 kB / 0.8213 GB, free: 13.73 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.0003061/0.5245, allocations: 0.729 MB / 0.822 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.5247, allocations: 140.5 kB / 0.8221 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5247, allocations: 0 / 0.8221 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.5247, allocations: 84.67 kB / 0.8222 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.5249, allocations: 0 / 0.8222 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.5252, allocations: 178.6 kB / 0.8224 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.202e-05/0.5252, allocations: 63.33 kB / 0.8225 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.5253, allocations: 13.62 kB / 0.8225 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.5254, allocations: 14.34 kB / 0.8225 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5254, allocations: 0 / 0.8225 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.5421, allocations: 1.944 MB / 0.8244 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/6.914, allocations: 3.484 kB / 0.8244 GB, free: 11.66 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: 10.019726937171072] Failed to read output from testmodel.py, exit status != 0: 6.99478819873184 7.009343638 6.485083754 Calling exit ...