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.001176/0.001176, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009532/0.0009532, allocations: 218.3 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 0.9989/0.9989, allocations: 230.6 MB / 256 MB, free: 9.633 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.8029/0.8029, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.0009256/0.0009256, allocations: 75.05 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.531, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001407/0.5324, allocations: 0.5905 MB / 0.8185 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.5327, allocations: 42.23 kB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.5327, allocations: 0 / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.5327, allocations: 7.734 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.5328, allocations: 0 / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.533, allocations: 15.23 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.5331, allocations: 4.531 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.5332, allocations: 0.6094 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.5332, allocations: 2.609 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.5332, allocations: 14.11 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.5332, allocations: 0 / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.5333, allocations: 21.97 kB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.5334, allocations: 3.844 kB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.5334, allocations: 7.938 kB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.634e-05/0.5335, allocations: 19.56 kB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5335, allocations: 3.938 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5335, allocations: 0.9375 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5335, allocations: 2 kB / 0.8186 GB, free: 0.8281 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.000221/0.5337, allocations: 277.2 kB / 0.8189 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5337, allocations: 10.2 kB / 0.8189 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.961e-05/0.5338, allocations: 37.77 kB / 0.8189 GB, free: 500 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.5338, allocations: 4.938 kB / 0.8189 GB, free: 496 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.332e-05/0.5338, allocations: 108.8 kB / 0.819 GB, free: 364 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5338, allocations: 5.266 kB / 0.819 GB, free: 360 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.5338, allocations: 2.891 kB / 0.819 GB, free: 360 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.534, allocations: 55.94 kB / 0.8191 GB, free: 324 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.534, allocations: 3.938 kB / 0.8191 GB, free: 320 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.534, allocations: 3.984 kB / 0.8191 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.534, allocations: 6.219 kB / 0.8191 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.534, allocations: 24.52 kB / 0.8191 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.5343, allocations: 244.7 kB / 0.8194 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.199e-05/0.5343, allocations: 16.48 kB / 0.8194 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.12e-05/0.5343, allocations: 6.766 kB / 0.8194 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.5343, allocations: 2.453 kB / 0.8194 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.5343, allocations: 30.56 kB / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5343, allocations: 0 / 0.8194 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.5345, allocations: 77.69 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.5345, allocations: 77.11 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.5346, allocations: 124 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.5346, allocations: 25.7 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.5346, allocations: 103.4 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.5347, allocations: 4.734 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.5347, allocations: 27.84 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.5348, allocations: 320.3 kB / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.5348, allocations: 15.5 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.5348, allocations: 63.22 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.5349, allocations: 134.4 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5349, allocations: 1.188 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.535, allocations: 120.8 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.535, allocations: 34.56 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5351, allocations: 3.938 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5351, allocations: 7.094 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.5351, allocations: 13.45 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5351, allocations: 0.7812 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.5352, allocations: 12.58 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.5352, allocations: 12.69 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 7.366e-05/0.5353, allocations: 145.7 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.5353, allocations: 0.75 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.374e-05/0.5353, allocations: 14.67 kB / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5353, allocations: 0 / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5353, allocations: 0.5156 kB / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5353, allocations: 3.844 kB / 0.8207 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.479e-05/0.5354, allocations: 121.1 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5354, allocations: 2.625 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.5354, allocations: 0 / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5354, allocations: 4.609 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.5354, allocations: 1.219 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.5354, allocations: 0 / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5354, allocations: 0.75 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.79e-05/0.5355, allocations: 174.2 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.5355, allocations: 0.75 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.5355, allocations: 2.875 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.5356, allocations: 0.6562 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.5356, allocations: 8.547 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.5356, allocations: 3.688 kB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.5356, allocations: 91.12 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5356, allocations: 0 / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001628/0.5358, allocations: 14.88 kB / 0.8211 GB, free: 14.26 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.0003351/0.5361, allocations: 0.6957 MB / 0.8218 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.5363, allocations: 88.25 kB / 0.8219 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5363, allocations: 0 / 0.8219 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.5363, allocations: 55.5 kB / 0.8219 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.5364, allocations: 6.766 kB / 0.8219 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.5367, allocations: 148.9 kB / 0.8221 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.5369, allocations: 0.6897 MB / 0.8228 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.009e-05/0.537, allocations: 13.28 kB / 0.8228 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.537, allocations: 8.141 kB / 0.8228 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.537, allocations: 0 / 0.8228 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.5524, allocations: 1.571 MB / 0.8243 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/7.072, allocations: 6.922 kB / 0.8243 GB, free: 12.14 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 & /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: 10.074188633821905] Failed to read output from testmodel.py, exit status != 0: 7.149731711950153 7.161641504 6.626028086 Calling exit ...