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.0007662/0.0007662, 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.0007708/0.0007708, allocations: 169.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.9441/0.9441, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7669/0.7669, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.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: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.443e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002339/0.002373, allocations: 0.5999 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000269/0.002642, allocations: 31.89 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.002667, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.0027, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.002748, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.003, allocations: 23.92 kB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.003092, allocations: 3.984 kB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.003143, allocations: 4 kB / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.003189, allocations: 3.984 kB / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.003246, allocations: 3.938 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.003265, allocations: 4 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.079e-05/0.003356, allocations: 19.92 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.003391, allocations: 4 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.003418, allocations: 4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.003696, allocations: 23.95 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.003702, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.169e-06/0.003707, allocations: 8 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.003716, allocations: 0 / 0.6188 GB, free: 12.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005208/0.004236, allocations: 280 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.004292, allocations: 9.469 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.004345, allocations: 34.75 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.004393, allocations: 0.9375 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.004495, allocations: 109.7 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.004514, allocations: 4.375 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.004528, allocations: 4.359 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.004733, allocations: 83.95 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.004746, allocations: 192 / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.004757, allocations: 4.375 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.0048, allocations: 12.12 kB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.004875, allocations: 49.69 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.005401, allocations: 231.9 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.0055, allocations: 48.22 kB / 0.6196 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.005543, allocations: 38.62 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.005552, allocations: 3.938 kB / 0.6197 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.005586, allocations: 30.56 kB / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.005588, allocations: 0 / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000262/0.00585, allocations: 126.8 kB / 0.6198 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.00591, allocations: 85.05 kB / 0.6199 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006034, allocations: 117.8 kB / 0.62 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.006058, allocations: 29.7 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.006134, allocations: 103.9 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.006152, allocations: 7.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.00621, allocations: 21.72 kB / 0.6202 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.006322, allocations: 318.8 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.006363, allocations: 37.7 kB / 0.6205 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.006434, allocations: 84.56 kB / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.006548, allocations: 134.3 kB / 0.6207 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.006551, allocations: 0 / 0.6207 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001888/0.00674, allocations: 149 kB / 0.6209 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.006796, allocations: 37.69 kB / 0.6209 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.006805, allocations: 0 / 0.6209 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.006828, allocations: 4 kB / 0.6209 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.006933, allocations: 12 kB / 0.6209 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.006945, allocations: 4.406 kB / 0.6209 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.007027, allocations: 8 kB / 0.6209 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.007047, allocations: 8 kB / 0.6209 GB, free: 10.38 MB / 0.5886 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 0.0001199/0.007167, allocations: 148.4 kB / 0.6211 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.007193, allocations: 8.078 kB / 0.6211 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.007213, allocations: 11.47 kB / 0.6211 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.007216, allocations: 0 / 0.6211 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.007222, allocations: 0 / 0.6211 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007225, allocations: 0 / 0.6211 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.00739, allocations: 128.7 kB / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007392, allocations: 0 / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.007394, allocations: 0 / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007396, allocations: 0 / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.007406, allocations: 4 kB / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007407, allocations: 0 / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007408, allocations: 0 / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.00756, allocations: 202.8 kB / 0.6214 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.00757, allocations: 0 / 0.6214 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.007585, allocations: 3.984 kB / 0.6214 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.007651, allocations: 4 kB / 0.6214 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.007667, allocations: 0 / 0.6214 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.007677, allocations: 4 kB / 0.6214 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.007726, allocations: 95.19 kB / 0.6215 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007726, allocations: 4 kB / 0.6215 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003246/0.008051, allocations: 11.94 kB / 0.6215 GB, free: 9.672 MB / 0.5886 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.0005194/0.00857, allocations: 0.7314 MB / 0.6223 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.008736, allocations: 138.7 kB / 0.6224 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008739, allocations: 4 kB / 0.6224 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.008778, allocations: 85.09 kB / 0.6225 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.009036, allocations: 2.188 kB / 0.6225 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.009473, allocations: 172.1 kB / 0.6226 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.009538, allocations: 63.34 kB / 0.6227 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.009662, allocations: 19.92 kB / 0.6227 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.009694, allocations: 12.5 kB / 0.6227 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/0.009695, allocations: 0 / 0.6227 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.02973, allocations: 2.08 MB / 0.6248 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.064, allocations: 5.375 kB / 0.6248 GB, free: 6.387 MB / 0.5886 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.04248017910868] Failed to read output from testmodel.py, exit status != 0: 7.14895349368453 7.15677262 7.147953812 Calling exit ...