Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007962/0.0007962, 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.0008995/0.0008995, allocations: 165.9 kB / 22.45 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.922/0.922, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7132/0.7132, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.49e-05, allocations: 4.672 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001285/0.00131, allocations: 0.6043 MB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.001534, allocations: 35.89 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.001558, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.001589, allocations: 4 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.001631, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.001856, allocations: 11.98 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.001938, allocations: 4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.001984, allocations: 3.984 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.002024, allocations: 7.984 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.002082, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.002099, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.002175, allocations: 19.92 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.002206, allocations: 11.94 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.002225, allocations: 4 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.918e-05/0.002314, allocations: 23.97 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002316, allocations: 0 / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002317, allocations: 0 / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.002321, allocations: 0 / 0.6189 GB, free: 12.86 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.0002551/0.002576, allocations: 286.2 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.002612, allocations: 12.03 kB / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.002639, allocations: 30.75 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.002665, allocations: 8.875 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.324e-05/0.002718, allocations: 101.8 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.002728, allocations: 384 / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.002736, allocations: 8.375 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.002856, allocations: 87.94 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.002863, allocations: 192 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.00287, allocations: 384 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.002891, allocations: 8.125 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.002935, allocations: 53.62 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.00321, allocations: 231.9 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/0.003262, allocations: 48.27 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.003281, allocations: 34.56 kB / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-06/0.003287, allocations: 0 / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.003308, allocations: 38.62 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.003309, allocations: 0 / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.00347, allocations: 122.7 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.00351, allocations: 85.11 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.003576, allocations: 113.8 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.003586, allocations: 25.7 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.003629, allocations: 112 kB / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.003636, allocations: 7.875 kB / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.003664, allocations: 21.72 kB / 0.6202 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.003741, allocations: 318.8 kB / 0.6205 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.003767, allocations: 37.81 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.003813, allocations: 92.56 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/0.003887, allocations: 126.1 kB / 0.6208 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003889, allocations: 4 kB / 0.6208 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001089/0.003998, allocations: 148.8 kB / 0.6209 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.004024, allocations: 33.7 kB / 0.621 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004029, allocations: 0 / 0.621 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.004042, allocations: 7.984 kB / 0.621 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.004097, allocations: 8 kB / 0.621 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.004105, allocations: 7.938 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.004161, allocations: 8 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.004174, allocations: 4.25 kB / 0.621 GB, free: 10.33 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 7.14e-05/0.004245, allocations: 152.5 kB / 0.6212 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.004257, allocations: 7.891 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.004271, allocations: 15.42 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.004272, allocations: 0 / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.004276, allocations: 0 / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.004279, allocations: 0 / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.004369, allocations: 124.7 kB / 0.6213 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004369, allocations: 0 / 0.6213 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.00437, allocations: 4 kB / 0.6213 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.004371, allocations: 0 / 0.6213 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004376, allocations: 8 kB / 0.6213 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004377, allocations: 0 / 0.6213 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004378, allocations: 0 / 0.6213 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.313e-05/0.004461, allocations: 198.8 kB / 0.6215 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.004467, allocations: 4 kB / 0.6215 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004475, allocations: 0 / 0.6215 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.37e-05/0.004509, allocations: 3.984 kB / 0.6215 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.004521, allocations: 4 kB / 0.6215 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.004524, allocations: 4 kB / 0.6215 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.004552, allocations: 83.28 kB / 0.6216 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.004552, allocations: 4.031 kB / 0.6216 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001582/0.00471, allocations: 15.92 kB / 0.6216 GB, free: 9.629 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.0002846/0.004995, allocations: 0.7352 MB / 0.6223 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.005106, allocations: 134.7 kB / 0.6225 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005107, allocations: 0 / 0.6225 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.005135, allocations: 85.62 kB / 0.6225 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.005278, allocations: 9.812 kB / 0.6225 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.00556, allocations: 168.3 kB / 0.6227 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.005605, allocations: 63.34 kB / 0.6228 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.005662, allocations: 11.97 kB / 0.6228 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.005684, allocations: 16.5 kB / 0.6228 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.005685, allocations: 0 / 0.6228 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.01922, allocations: 2.079 MB / 0.6248 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.685, allocations: 7.938 kB / 0.6248 GB, free: 6.328 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.394154106266797] Failed to read output from testmodel.py, exit status != 0: 6.765785795636475 6.775801255 6.7715593609999996 Calling exit ...