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.0008834/0.0008834, 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.0009744/0.0009744, allocations: 170.3 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.9216/0.9216, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.73/0.73, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.374e-06/2.374e-06, allocations: 0 / 0.6181 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.86e-05, allocations: 3.719 kB / 0.6181 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001692/0.001721, allocations: 0.5976 MB / 0.6187 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.001979, allocations: 35.89 kB / 0.6187 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.002004, allocations: 0 / 0.6187 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.002043, allocations: 4 kB / 0.6187 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.002087, allocations: 0 / 0.6187 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.00235, allocations: 15.91 kB / 0.6187 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.002448, allocations: 11.98 kB / 0.6187 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.002499, allocations: 0 / 0.6187 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.002541, allocations: 4 kB / 0.6187 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.002596, allocations: 0 / 0.6187 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.002614, allocations: 0 / 0.6187 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.002713, allocations: 19.97 kB / 0.6188 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.002754, allocations: 7.938 kB / 0.6188 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.002781, allocations: 4 kB / 0.6188 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.002918, allocations: 31.91 kB / 0.6188 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.002922, allocations: 0 / 0.6188 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.844e-06/0.002924, allocations: 0 / 0.6188 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.002929, allocations: 0 / 0.6188 GB, free: 11.88 MB / 0.5417 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.0003477/0.003276, allocations: 280.1 kB / 0.6191 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.003324, allocations: 9.469 kB / 0.6191 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.003365, allocations: 38.73 kB / 0.6191 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.003399, allocations: 4.938 kB / 0.6191 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.00348, allocations: 105.7 kB / 0.6192 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.003493, allocations: 384 / 0.6192 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.003505, allocations: 12.31 kB / 0.6192 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.003659, allocations: 79.95 kB / 0.6193 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.003667, allocations: 192 / 0.6193 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.003677, allocations: 384 / 0.6193 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.00371, allocations: 12.11 kB / 0.6193 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.003775, allocations: 57.62 kB / 0.6194 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.004119, allocations: 239.8 kB / 0.6196 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.004185, allocations: 48.22 kB / 0.6197 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.004213, allocations: 30.56 kB / 0.6197 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-06/0.004221, allocations: 64 / 0.6197 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.004253, allocations: 42.56 kB / 0.6197 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.004254, allocations: 0 / 0.6197 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0002112/0.004465, allocations: 118.8 kB / 0.6198 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.004514, allocations: 77.11 kB / 0.6199 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.004615, allocations: 121.8 kB / 0.62 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.004628, allocations: 29.64 kB / 0.6201 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.004681, allocations: 99.94 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.00469, allocations: 7.953 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.004733, allocations: 25.7 kB / 0.6202 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.004833, allocations: 318.8 kB / 0.6205 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.004871, allocations: 41.83 kB / 0.6205 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.004938, allocations: 88.86 kB / 0.6206 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.00504, allocations: 130.1 kB / 0.6207 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.005043, allocations: 0 / 0.6207 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.005271, allocations: 148.9 kB / 0.6209 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.005311, allocations: 33.7 kB / 0.6209 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.00532, allocations: 0 / 0.6209 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.005342, allocations: 7.938 kB / 0.6209 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.005429, allocations: 8 kB / 0.6209 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.005438, allocations: 4 kB / 0.6209 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.005529, allocations: 11.92 kB / 0.6209 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.005552, allocations: 12.25 kB / 0.621 GB, free: 9.34 MB / 0.5417 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.0001126/0.005664, allocations: 148.4 kB / 0.6211 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.005692, allocations: 3.953 kB / 0.6211 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.005713, allocations: 7.469 kB / 0.6211 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.005717, allocations: 3.984 kB / 0.6211 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.005724, allocations: 4 kB / 0.6211 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.005733, allocations: 3.984 kB / 0.6211 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.005884, allocations: 124.7 kB / 0.6212 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005886, allocations: 0 / 0.6212 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.005889, allocations: 4 kB / 0.6212 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.005894, allocations: 7.922 kB / 0.6212 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.005903, allocations: 4 kB / 0.6213 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005905, allocations: 0 / 0.6213 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.005906, allocations: 0 / 0.6213 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.006068, allocations: 194.9 kB / 0.6214 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.00608, allocations: 0 / 0.6214 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.006101, allocations: 0 / 0.6214 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.006171, allocations: 7.938 kB / 0.6214 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.006186, allocations: 0 / 0.6214 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.006192, allocations: 3.938 kB / 0.6214 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003405/0.006532, allocations: 91.27 kB / 0.6215 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.006532, allocations: 4.031 kB / 0.6215 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002575/0.00679, allocations: 12 kB / 0.6216 GB, free: 8.633 MB / 0.5417 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.0004867/0.007277, allocations: 0.7236 MB / 0.6223 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.007445, allocations: 142.7 kB / 0.6224 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.007447, allocations: 0 / 0.6224 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.007485, allocations: 85.58 kB / 0.6225 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.007645, allocations: 12 kB / 0.6225 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.008017, allocations: 168.2 kB / 0.6226 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.701e-05/0.008084, allocations: 63.34 kB / 0.6227 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.008226, allocations: 11.98 kB / 0.6227 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.008261, allocations: 12.5 kB / 0.6227 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/0.008262, allocations: 0 / 0.6227 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.02681, allocations: 2.086 MB / 0.6248 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.948, allocations: 7.516 kB / 0.6248 GB, free: 5.359 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.65548270009458] Failed to read output from testmodel.py, exit status != 0: 7.031374931335449 7.045932153 7.040282442 Calling exit ...