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.0006942/0.0006942, allocations: 105.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.0007643/0.0007643, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.598 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.7984/0.7984, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009553/0.0009553, allocations: 69.59 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5204, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.001905/0.5223, allocations: 1.485 MB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.5233, allocations: 0.7721 MB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.5234, allocations: 0 / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.5236, allocations: 136.7 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.5242, allocations: 181 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.5243, allocations: 81.7 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.5244, allocations: 68.83 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.5245, allocations: 12.59 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.5245, allocations: 37.98 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.5246, allocations: 94.11 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5247, allocations: 4.062 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.525, allocations: 234.7 kB / 0.8208 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.5251, allocations: 112 kB / 0.8209 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.5252, allocations: 76.5 kB / 0.821 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.5255, allocations: 348.2 kB / 0.8213 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5256, allocations: 0 / 0.8213 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5256, allocations: 4 kB / 0.8213 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5256, allocations: 1.312 kB / 0.8213 GB, free: 15.14 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.0006543/0.5262, allocations: 0.552 MB / 0.8219 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5263, allocations: 11.09 kB / 0.8219 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.5263, allocations: 31.31 kB / 0.8219 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.5263, allocations: 36.67 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.527, allocations: 0.8625 MB / 0.8228 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.527, allocations: 1.078 kB / 0.8228 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.527, allocations: 1.594 kB / 0.8228 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.5272, allocations: 94.88 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5272, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.5272, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5272, allocations: 1.281 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5273, allocations: 97.36 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.5279, allocations: 0.5435 MB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.528, allocations: 110.5 kB / 0.8236 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.5281, allocations: 59.3 kB / 0.8237 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.5282, allocations: 19.86 kB / 0.8237 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.5282, allocations: 32.36 kB / 0.8237 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.5282, allocations: 0 / 0.8237 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003187/0.5285, allocations: 210.7 kB / 0.8239 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5285, allocations: 53.25 kB / 0.824 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.5295, allocations: 1.207 MB / 0.8251 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5295, allocations: 31.2 kB / 0.8252 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5296, allocations: 185.1 kB / 0.8253 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.5296, allocations: 9.812 kB / 0.8254 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.5297, allocations: 17.02 kB / 0.8254 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5298, allocations: 349.1 kB / 0.8257 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.5299, allocations: 51.08 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.5299, allocations: 50.66 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.53, allocations: 107 kB / 0.8259 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5301, allocations: 1.406 kB / 0.8259 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.5302, allocations: 161.4 kB / 0.8261 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5303, allocations: 8.344 kB / 0.8261 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5303, allocations: 1.344 kB / 0.8261 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5303, allocations: 4.594 kB / 0.8261 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.5303, allocations: 16.88 kB / 0.8261 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5304, allocations: 5.656 kB / 0.8261 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.5304, allocations: 6.547 kB / 0.8261 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.5304, allocations: 1.156 kB / 0.8261 GB, free: 12.68 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.0001135/0.5305, allocations: 168.7 kB / 0.8263 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.5306, allocations: 34.61 kB / 0.8263 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.5308, allocations: 176.6 kB / 0.8265 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5308, allocations: 0 / 0.8265 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5308, allocations: 4.031 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5308, allocations: 2.25 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.531, allocations: 256.5 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.531, allocations: 0 / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.5311, allocations: 8.25 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5311, allocations: 1.125 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.5311, allocations: 0.5625 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5311, allocations: 5.094 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5311, allocations: 0 / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.5313, allocations: 265.9 kB / 0.827 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.5314, allocations: 54.44 kB / 0.827 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.5314, allocations: 0.5312 kB / 0.827 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.5315, allocations: 7.562 kB / 0.827 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.5315, allocations: 7.125 kB / 0.8271 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5315, allocations: 1 kB / 0.8271 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001073/0.5326, allocations: 0.9505 MB / 0.828 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5326, allocations: 0 / 0.828 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000388/0.533, allocations: 77.27 kB / 0.8281 GB, free: 11.77 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.0006326/0.5336, allocations: 0.8443 MB / 0.8289 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.5338, allocations: 104.9 kB / 0.829 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5338, allocations: 0 / 0.829 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.5339, allocations: 53.33 kB / 0.829 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.5342, allocations: 26.41 kB / 0.8291 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.5418, allocations: 6.768 MB / 0.8357 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.542, allocations: 177.9 kB / 0.8358 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.5421, allocations: 41.66 kB / 0.8359 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.5423, allocations: 89.91 kB / 0.836 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.374e-06/0.5423, allocations: 0 / 0.836 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.5703, allocations: 7.842 MB / 0.8436 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/7.202, allocations: 5.5 kB / 0.8436 GB, free: 5.152 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.322240290697664] Failed to read output from testmodel.py, exit status != 0: 7.283301938790828 7.298753501 6.769598274 Calling exit ...