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.000763/0.000763, allocations: 109.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.0008037/0.0008037, allocations: 214.2 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.617 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.8177/0.8177, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001026/0.001026, allocations: 70.84 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.523, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.002174/0.5252, allocations: 1.526 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.5263, allocations: 0.7276 MB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.5263, allocations: 0 / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.5265, allocations: 131.7 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.5266, allocations: 70.94 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.5272, allocations: 185.5 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.5274, allocations: 66.42 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.5274, allocations: 5.203 kB / 0.8205 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.5275, allocations: 38.66 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.5276, allocations: 92.05 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.5276, allocations: 2.844 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.528, allocations: 239.2 kB / 0.8208 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.5281, allocations: 62.39 kB / 0.8209 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.5282, allocations: 41.34 kB / 0.8209 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.5286, allocations: 278.5 kB / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5286, allocations: 5.031 kB / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5286, allocations: 0 / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5286, allocations: 0 / 0.8212 GB, free: 15.2 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.0008455/0.5294, allocations: 443.7 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.483e-05/0.5295, allocations: 13.86 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.5296, allocations: 36.25 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.5296, allocations: 24.48 kB / 0.8217 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.5299, allocations: 199.2 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.53, allocations: 2 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.53, allocations: 2.828 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.5302, allocations: 77.61 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5303, allocations: 1.734 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5303, allocations: 0 / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5303, allocations: 0.9375 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.5305, allocations: 92.05 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.5313, allocations: 363.5 kB / 0.8224 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.5316, allocations: 89.09 kB / 0.8225 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.5317, allocations: 44.89 kB / 0.8225 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.5318, allocations: 21.59 kB / 0.8225 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.5319, allocations: 40.22 kB / 0.8226 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.524e-06/0.5319, allocations: 0.9375 kB / 0.8226 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005987/0.5325, allocations: 177.5 kB / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.5325, allocations: 53.09 kB / 0.8228 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.5331, allocations: 358.4 kB / 0.8231 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5331, allocations: 29.69 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5332, allocations: 139.2 kB / 0.8233 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.5333, allocations: 2.109 kB / 0.8233 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.5333, allocations: 35.36 kB / 0.8233 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5335, allocations: 337.3 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.5337, allocations: 93.98 kB / 0.8238 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.5339, allocations: 94.95 kB / 0.8238 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.5342, allocations: 212.1 kB / 0.824 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5342, allocations: 0 / 0.824 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004399/0.5347, allocations: 258.5 kB / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.5347, allocations: 6.812 kB / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.5347, allocations: 0 / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.5347, allocations: 0 / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.5349, allocations: 9.547 kB / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.5349, allocations: 0 / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.5349, allocations: 16.42 kB / 0.8243 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5349, allocations: 1.625 kB / 0.8243 GB, free: 13.26 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.0001411/0.5351, allocations: 152.8 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.5351, allocations: 27.48 kB / 0.8245 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.5354, allocations: 149 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5354, allocations: 0.7031 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.5354, allocations: 0 / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5354, allocations: 0 / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.5357, allocations: 209.5 kB / 0.8248 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5357, allocations: 0 / 0.8248 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.5358, allocations: 9.266 kB / 0.8248 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.5358, allocations: 5.344 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.5358, allocations: 0.6562 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5358, allocations: 0 / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5358, allocations: 1.406 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.536, allocations: 238 kB / 0.8251 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.5361, allocations: 26.38 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.5361, allocations: 6.062 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.5361, allocations: 4.469 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.5362, allocations: 8.609 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5362, allocations: 0 / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002094/0.5364, allocations: 255.4 kB / 0.8254 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5364, allocations: 3.938 kB / 0.8254 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003203/0.5367, allocations: 63.14 kB / 0.8254 GB, free: 12.59 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.0006083/0.5373, allocations: 0.8139 MB / 0.8262 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.5376, allocations: 151.8 kB / 0.8264 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5376, allocations: 0 / 0.8264 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.5376, allocations: 46.14 kB / 0.8264 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.5379, allocations: 13.56 kB / 0.8264 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.5406, allocations: 2.738 MB / 0.8291 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.5407, allocations: 126.8 kB / 0.8292 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.5408, allocations: 19.88 kB / 0.8292 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.5408, allocations: 53.2 kB / 0.8293 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.5408, allocations: 5.062 kB / 0.8293 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.5633, allocations: 4.838 MB / 0.834 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/7.134, allocations: 1.281 kB / 0.834 GB, free: 9.195 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.333982420619577] Failed to read output from testmodel.py, exit status != 0: 7.212548824027181 7.224367027 6.693697021 Calling exit ...