Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.0007909/0.0007909, 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: 217.7 kB / 22.26 MB, free: 3.699 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.8966/0.8966, allocations: 230.6 MB / 256 MB, free: 9.793 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.7538/0.7538, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.0008991/0.0008991, allocations: 67.41 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5016, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002225/0.5038, allocations: 1.462 MB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.5051, allocations: 0.8457 MB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.5052, allocations: 2.156 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.82e-05/0.5052, allocations: 4.594 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.5053, allocations: 4.656 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.5061, allocations: 187.7 kB / 0.8203 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.5062, allocations: 44.41 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.5063, allocations: 2.203 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.5063, allocations: 19.09 kB / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.5064, allocations: 18.41 kB / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.5064, allocations: 7.625 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.5068, allocations: 233.4 kB / 0.8206 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.5069, allocations: 17.19 kB / 0.8207 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.5069, allocations: 12.56 kB / 0.8207 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.5072, allocations: 195.4 kB / 0.8208 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5072, allocations: 0.5156 kB / 0.8208 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5072, allocations: 0 / 0.8208 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.5072, allocations: 1.156 kB / 0.8209 GB, free: 15.42 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005373/0.5078, allocations: 359.5 kB / 0.8212 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5078, allocations: 8.469 kB / 0.8212 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.5079, allocations: 36.31 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.5079, allocations: 7.547 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.351e-05/0.508, allocations: 119.7 kB / 0.8214 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.508, allocations: 2.688 kB / 0.8214 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.508, allocations: 1.531 kB / 0.8214 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.5082, allocations: 87.42 kB / 0.8214 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5082, allocations: 0 / 0.8214 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.5082, allocations: 0 / 0.8214 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.5082, allocations: 0.5625 kB / 0.8214 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.5083, allocations: 50.84 kB / 0.8215 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.5087, allocations: 246 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.5088, allocations: 59.06 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.5089, allocations: 45.55 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.5089, allocations: 0.5156 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5089, allocations: 36.03 kB / 0.8219 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.5089, allocations: 2.281 kB / 0.8219 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003202/0.5092, allocations: 181.5 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5093, allocations: 91.8 kB / 0.8221 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5094, allocations: 123.1 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5094, allocations: 26.5 kB / 0.8223 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.5094, allocations: 92.38 kB / 0.8224 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.5094, allocations: 9.375 kB / 0.8224 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.5095, allocations: 26.56 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.5096, allocations: 317.4 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.5097, allocations: 56.62 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.5097, allocations: 56.81 kB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.5099, allocations: 198.8 kB / 0.823 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5099, allocations: 0 / 0.823 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002388/0.5101, allocations: 219.1 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.5102, allocations: 66.64 kB / 0.8233 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5102, allocations: 0 / 0.8233 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5102, allocations: 0 / 0.8233 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.5103, allocations: 9.703 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5103, allocations: 0 / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.5103, allocations: 10.16 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.5104, allocations: 3.234 kB / 0.8233 GB, free: 13.36 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001106/0.5105, allocations: 150.5 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.5105, allocations: 14.22 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.5105, allocations: 7.141 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5105, allocations: 0.9844 kB / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5105, allocations: 0 / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5105, allocations: 1.156 kB / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.5107, allocations: 146.2 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5107, allocations: 0 / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.5107, allocations: 4.188 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5107, allocations: 1.062 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5107, allocations: 6.469 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5107, allocations: 4 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5107, allocations: 0.7812 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.511, allocations: 255.1 kB / 0.8239 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.511, allocations: 4.172 kB / 0.8239 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.511, allocations: 1.25 kB / 0.8239 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.511, allocations: 6.266 kB / 0.8239 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.5112, allocations: 8.312 kB / 0.8239 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5112, allocations: 5.156 kB / 0.8239 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.5113, allocations: 101.3 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5113, allocations: 0 / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003654/0.5117, allocations: 56.19 kB / 0.824 GB, free: 12.73 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0007165/0.5124, allocations: 0.836 MB / 0.8248 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.5127, allocations: 238.3 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5127, allocations: 0 / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.5128, allocations: 95.94 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.513, allocations: 7.906 kB / 0.8252 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.5147, allocations: 1.757 MB / 0.8269 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.5149, allocations: 0.6929 MB / 0.8276 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.515, allocations: 1.406 kB / 0.8276 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.515, allocations: 18.05 kB / 0.8276 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of SimCode: time 1.834e-06/0.515, allocations: 0 / 0.8276 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.538, allocations: 2.89 MB / 0.8304 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.764, allocations: 9.891 kB / 0.8304 GB, free: 9.168 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.574371641967446] Failed to read output from testmodel.py, exit status != 0: 7.843726248946041 7.859042478 7.349539206 Calling exit ...