Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.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.001046/0.001046, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001126/0.001126, allocations: 221.8 kB / 22.26 MB, free: 3.707 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 1.071/1.071, allocations: 230.6 MB / 256 MB, free: 9.797 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.83/0.83, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Interpolate",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.00145/0.00145, allocations: 72.86 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5766, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.00186/0.5784, allocations: 1.503 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.5794, allocations: 0.8462 MB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.5795, allocations: 0 / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.5797, allocations: 136.2 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.5802, allocations: 185.9 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.5803, allocations: 73.67 kB / 0.8205 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.5804, allocations: 65.41 kB / 0.8206 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.5805, allocations: 4.172 kB / 0.8206 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.5805, allocations: 38.25 kB / 0.8206 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.5806, allocations: 96.73 kB / 0.8207 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.5806, allocations: 7.516 kB / 0.8207 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.581, allocations: 257.6 kB / 0.821 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.5811, allocations: 108.1 kB / 0.8211 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.5812, allocations: 97.73 kB / 0.8212 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.5815, allocations: 353.6 kB / 0.8215 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5815, allocations: 0 / 0.8215 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5815, allocations: 1.188 kB / 0.8215 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.5816, allocations: 0 / 0.8215 GB, free: 15.23 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005738/0.5821, allocations: 0.5502 MB / 0.8221 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5822, allocations: 10.47 kB / 0.8221 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.5822, allocations: 35.5 kB / 0.8221 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.5822, allocations: 35.67 kB / 0.8221 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.583, allocations: 0.8626 MB / 0.823 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.583, allocations: 1.625 kB / 0.823 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.5831, allocations: 1.812 kB / 0.823 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.5832, allocations: 84.44 kB / 0.8231 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5832, allocations: 1.797 kB / 0.8231 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.5832, allocations: 0 / 0.8231 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5832, allocations: 0 / 0.8231 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.5834, allocations: 110.3 kB / 0.8232 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.5839, allocations: 0.5492 MB / 0.8237 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.5841, allocations: 103.1 kB / 0.8238 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.5842, allocations: 56.42 kB / 0.8239 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.5842, allocations: 25.3 kB / 0.8239 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.5842, allocations: 36.62 kB / 0.8239 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.5842, allocations: 0 / 0.8239 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003053/0.5845, allocations: 207.3 kB / 0.8241 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5846, allocations: 51.97 kB / 0.8242 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.5855, allocations: 1.216 MB / 0.8253 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.5855, allocations: 25.7 kB / 0.8254 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.5856, allocations: 177.1 kB / 0.8255 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.5856, allocations: 17.92 kB / 0.8256 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5857, allocations: 12.66 kB / 0.8256 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5858, allocations: 356.8 kB / 0.8259 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.5858, allocations: 47.92 kB / 0.826 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.5859, allocations: 54.12 kB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.586, allocations: 111.6 kB / 0.8261 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.586, allocations: 0 / 0.8261 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.5862, allocations: 157.3 kB / 0.8263 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5862, allocations: 6.953 kB / 0.8263 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5862, allocations: 4.094 kB / 0.8263 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5863, allocations: 0 / 0.8263 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.5863, allocations: 17.55 kB / 0.8263 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.5863, allocations: 0.5156 kB / 0.8263 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.5864, allocations: 7.031 kB / 0.8263 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.5864, allocations: 1.219 kB / 0.8263 GB, free: 12.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001481/0.5866, allocations: 169.2 kB / 0.8265 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.5866, allocations: 35 kB / 0.8265 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.5869, allocations: 183.1 kB / 0.8267 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5869, allocations: 1.062 kB / 0.8267 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5869, allocations: 3.938 kB / 0.8267 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5869, allocations: 0 / 0.8267 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.5871, allocations: 268.8 kB / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5871, allocations: 0 / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.5872, allocations: 9.234 kB / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5872, allocations: 1.094 kB / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.5872, allocations: 4.031 kB / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5872, allocations: 1.734 kB / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5872, allocations: 0 / 0.8269 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5874, allocations: 265 kB / 0.8272 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.5875, allocations: 52.66 kB / 0.8272 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5875, allocations: 2.078 kB / 0.8273 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.5875, allocations: 11.33 kB / 0.8273 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.5876, allocations: 2.938 kB / 0.8273 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5876, allocations: 0 / 0.8273 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001149/0.5887, allocations: 0.954 MB / 0.8282 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5887, allocations: 1.219 kB / 0.8282 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004775/0.5892, allocations: 72.05 kB / 0.8283 GB, free: 11.85 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0005783/0.5898, allocations: 0.8474 MB / 0.8291 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.59, allocations: 108.9 kB / 0.8292 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.59, allocations: 0 / 0.8292 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.5901, allocations: 53.62 kB / 0.8292 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5903, allocations: 26.59 kB / 0.8293 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.5961, allocations: 6.765 MB / 0.8359 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.5964, allocations: 0.7855 MB / 0.8366 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.5965, allocations: 46.58 kB / 0.8367 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5966, allocations: 92.94 kB / 0.8368 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.5966, allocations: 0 / 0.8368 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.6189, allocations: 7.277 MB / 0.8439 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/7.341, allocations: 6.188 kB / 0.8439 GB, free: 5.176 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IDEAS_dev_IDEAS_Utilities_Math_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.572368816006929] Failed to read output from testmodel.py, exit status != 0: 7.420826974092051 7.431049022 6.847418393 Calling exit ...