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.001221/0.001221, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008612/0.0008612, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9668/0.9668, allocations: 230.6 MB / 256 MB, free: 9.602 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.8063/0.8063, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.001594/0.001594, allocations: 74.53 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5144, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001314/0.5157, allocations: 0.5927 MB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002236/0.5159, allocations: 34.52 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.516, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.516, allocations: 3.688 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.516, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.5162, allocations: 15.53 kB / 0.8185 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.5163, allocations: 4.797 kB / 0.8185 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.5163, allocations: 8.594 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.5163, allocations: 6.188 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.5164, allocations: 0.7031 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.5164, allocations: 1.875 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.5165, allocations: 19.52 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.5165, allocations: 3.984 kB / 0.8185 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.5165, allocations: 5.969 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.941e-05/0.5166, allocations: 27.08 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5166, allocations: 0.75 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5166, allocations: 0 / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5166, allocations: 6.344 kB / 0.8185 GB, free: 0.6172 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.0002638/0.5169, allocations: 277.2 kB / 0.8188 GB, free: 328 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5169, allocations: 11.03 kB / 0.8188 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.342e-05/0.517, allocations: 32.02 kB / 0.8188 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.517, allocations: 4.781 kB / 0.8189 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.287e-05/0.517, allocations: 107.3 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.517, allocations: 384 / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.517, allocations: 3.625 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.5172, allocations: 88.62 kB / 0.819 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.5172, allocations: 3.938 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.5172, allocations: 0.6562 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.5172, allocations: 12.48 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.5172, allocations: 48.52 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.5175, allocations: 239.3 kB / 0.8193 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.5176, allocations: 54.48 kB / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.5176, allocations: 31.17 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.5176, allocations: 0 / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.5176, allocations: 35.3 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5176, allocations: 0 / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.5178, allocations: 122.5 kB / 0.8196 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5178, allocations: 82.39 kB / 0.8196 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.5179, allocations: 124.8 kB / 0.8198 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.5179, allocations: 30.25 kB / 0.8198 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.5179, allocations: 105.1 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.5179, allocations: 7.516 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.518, allocations: 23.3 kB / 0.8199 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.518, allocations: 319.6 kB / 0.8202 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.5181, allocations: 35.58 kB / 0.8203 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.5181, allocations: 87.2 kB / 0.8203 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/0.5182, allocations: 140 kB / 0.8205 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5182, allocations: 0 / 0.8205 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.648e-05/0.5183, allocations: 143.3 kB / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5183, allocations: 41.72 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5183, allocations: 2.5 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5183, allocations: 3.844 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.5184, allocations: 12.48 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.5184, allocations: 0 / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.5184, allocations: 8.312 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5185, allocations: 9.625 kB / 0.8207 GB, free: 14.38 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 6.421e-05/0.5185, allocations: 152 kB / 0.8208 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.5185, allocations: 1.5 kB / 0.8208 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.5185, allocations: 11.11 kB / 0.8208 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5185, allocations: 4 kB / 0.8209 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5185, allocations: 0 / 0.8209 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5186, allocations: 1.734 kB / 0.8209 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.5186, allocations: 132.7 kB / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5186, allocations: 0.6562 kB / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.5186, allocations: 0 / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.5186, allocations: 0 / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5187, allocations: 2.516 kB / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.5187, allocations: 0 / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5187, allocations: 0 / 0.821 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.814e-05/0.5187, allocations: 205 kB / 0.8212 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.5188, allocations: 2.562 kB / 0.8212 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.5188, allocations: 0.6562 kB / 0.8212 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.5188, allocations: 4.188 kB / 0.8212 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.5188, allocations: 0 / 0.8212 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.5188, allocations: 5.25 kB / 0.8212 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.5188, allocations: 96.77 kB / 0.8213 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5188, allocations: 0 / 0.8213 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001614/0.519, allocations: 7.062 kB / 0.8213 GB, free: 13.75 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.0002926/0.5193, allocations: 0.7289 MB / 0.822 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.5194, allocations: 146.2 kB / 0.8221 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5194, allocations: 0 / 0.8221 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.5194, allocations: 85.69 kB / 0.8222 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.5196, allocations: 5.969 kB / 0.8222 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.5199, allocations: 176.6 kB / 0.8224 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.5199, allocations: 62.09 kB / 0.8225 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.05e-05/0.52, allocations: 14.78 kB / 0.8225 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.52, allocations: 13.33 kB / 0.8225 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.52, allocations: 0 / 0.8225 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.5345, allocations: 1.943 MB / 0.8244 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/7.086, allocations: 5.25 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 & /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.023037309758365] Failed to read output from testmodel.py, exit status != 0: 7.165122141130269 7.178017831 6.659149453 Calling exit ...