Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0006687/0.0006687, 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.0008194/0.0008194, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9836/0.9836, 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.8002/0.8002, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001315/0.001315, allocations: 75.58 kB / 0.7183 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5899, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.002281/0.5922, allocations: 1.53 MB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.5934, allocations: 0.791 MB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.5935, allocations: 4 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.5937, allocations: 130.9 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.5938, allocations: 69.05 kB / 0.8204 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.5945, allocations: 195.2 kB / 0.8205 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.5946, allocations: 58.52 kB / 0.8206 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.5946, allocations: 1.891 kB / 0.8206 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.5947, allocations: 43.72 kB / 0.8206 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.5948, allocations: 89.7 kB / 0.8207 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5948, allocations: 2.219 kB / 0.8207 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.5953, allocations: 262 kB / 0.821 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.5954, allocations: 64.66 kB / 0.821 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.96e-05/0.5955, allocations: 55.55 kB / 0.8211 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.596, allocations: 272.1 kB / 0.8214 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.596, allocations: 3.75 kB / 0.8214 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.387e-06/0.596, allocations: 0 / 0.8214 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.596, allocations: 0 / 0.8214 GB, free: 15.31 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.0007766/0.5968, allocations: 450.9 kB / 0.8218 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.5969, allocations: 7.688 kB / 0.8218 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.5969, allocations: 31.31 kB / 0.8218 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.597, allocations: 26.3 kB / 0.8219 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.5972, allocations: 208.1 kB / 0.8221 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5972, allocations: 384 / 0.8221 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.5973, allocations: 3.5 kB / 0.8221 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.5974, allocations: 80.48 kB / 0.8221 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5974, allocations: 0 / 0.8221 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5974, allocations: 3.938 kB / 0.8221 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5974, allocations: 3.984 kB / 0.8221 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.5976, allocations: 87.7 kB / 0.8222 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.598, allocations: 373.8 kB / 0.8226 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.5981, allocations: 87.98 kB / 0.8227 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.5982, allocations: 48.64 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.5983, allocations: 20.88 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5983, allocations: 35.27 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.5983, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003129/0.5986, allocations: 180.2 kB / 0.8229 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.5986, allocations: 51.41 kB / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.599, allocations: 357.7 kB / 0.8233 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.599, allocations: 25.7 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.5991, allocations: 148.1 kB / 0.8235 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.5991, allocations: 0 / 0.8235 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.5991, allocations: 28.22 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5993, allocations: 337.6 kB / 0.8238 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5994, allocations: 93.7 kB / 0.8239 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.5995, allocations: 103.3 kB / 0.824 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.5998, allocations: 200.5 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5998, allocations: 4 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003326/0.6002, allocations: 266.7 kB / 0.8245 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6002, allocations: 7.094 kB / 0.8245 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6002, allocations: 0 / 0.8245 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6002, allocations: 0.7969 kB / 0.8245 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.6003, allocations: 13.78 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6003, allocations: 3.984 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.6004, allocations: 14.52 kB / 0.8245 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6004, allocations: 2.062 kB / 0.8245 GB, free: 13.35 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001032/0.6005, allocations: 142.9 kB / 0.8247 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.6005, allocations: 21.08 kB / 0.8247 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.6007, allocations: 153.8 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6007, allocations: 5.219 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6007, allocations: 0 / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.6007, allocations: 1.812 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.601, allocations: 213.9 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.601, allocations: 0.5156 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.601, allocations: 9 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.601, allocations: 1.344 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.601, allocations: 0 / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.601, allocations: 0.6094 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.601, allocations: 5.469 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.6012, allocations: 237.4 kB / 0.8253 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.6013, allocations: 25.64 kB / 0.8253 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.6013, allocations: 1.938 kB / 0.8253 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.6013, allocations: 5.672 kB / 0.8253 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.6014, allocations: 6.859 kB / 0.8253 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.6014, allocations: 0.6562 kB / 0.8253 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002221/0.6016, allocations: 251.1 kB / 0.8256 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6016, allocations: 4.656 kB / 0.8256 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000362/0.602, allocations: 65.78 kB / 0.8256 GB, free: 12.68 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.0006268/0.6026, allocations: 0.8191 MB / 0.8264 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.6028, allocations: 143.8 kB / 0.8266 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6028, allocations: 0 / 0.8266 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.6029, allocations: 46.02 kB / 0.8266 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.6032, allocations: 22.12 kB / 0.8266 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.6061, allocations: 2.732 MB / 0.8293 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.6064, allocations: 0.7377 MB / 0.83 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.6064, allocations: 19.61 kB / 0.83 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.6065, allocations: 53.56 kB / 0.8301 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of SimCode: time 1.432e-06/0.6065, allocations: 0 / 0.8301 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.6278, allocations: 4.389 MB / 0.8344 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/7.312, allocations: 2.25 kB / 0.8344 GB, free: 9.125 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_Functions_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.440215224865824] Failed to read output from testmodel.py, exit status != 0: 7.392095036804676 7.40270669 6.804554731 Calling exit ...