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.0008255/0.0008255, 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.0008848/0.0008848, 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 0.9367/0.9367, 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.7503/0.7503, 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.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.00154/0.00154, allocations: 66.45 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4947, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001904/0.4966, allocations: 1.463 MB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.4977, allocations: 0.782 MB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.4977, allocations: 0 / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.124e-05/0.4978, allocations: 8.062 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.4978, allocations: 0 / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.4984, allocations: 184.5 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.4985, allocations: 43.17 kB / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.4986, allocations: 10.31 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.4986, allocations: 13.69 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.4987, allocations: 19.39 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4987, allocations: 3.062 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.499, allocations: 215.5 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.499, allocations: 10.86 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.4991, allocations: 15.17 kB / 0.8205 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.4993, allocations: 199 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4993, allocations: 4.688 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4993, allocations: 0 / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4993, allocations: 3.938 kB / 0.8207 GB, free: 15.29 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.0004428/0.4998, allocations: 360.8 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4998, allocations: 9.375 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.4999, allocations: 33.84 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.4999, allocations: 7.203 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.927e-05/0.5, allocations: 116.5 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5, allocations: 384 / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.5, allocations: 3.531 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.5002, allocations: 117.2 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5002, allocations: 0 / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5002, allocations: 0 / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5002, allocations: 1.469 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.5003, allocations: 77.02 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.5006, allocations: 241 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.5007, allocations: 87.66 kB / 0.8217 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.5008, allocations: 77.48 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.5008, allocations: 4 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.5008, allocations: 33.31 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5008, allocations: 0 / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003013/0.5011, allocations: 242.2 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5012, allocations: 84.44 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.5013, allocations: 122.5 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5013, allocations: 26.86 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.5013, allocations: 91.53 kB / 0.8224 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.5013, allocations: 10.97 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.5014, allocations: 24.67 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.5015, allocations: 321.1 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.5016, allocations: 122.2 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.5016, allocations: 116.1 kB / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.5018, allocations: 198.8 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5018, allocations: 0 / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002063/0.502, allocations: 283.8 kB / 0.8234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.502, allocations: 66.88 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.502, allocations: 0 / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.502, allocations: 4 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.5021, allocations: 3.25 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5021, allocations: 1.344 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.5021, allocations: 10.39 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.5021, allocations: 2.125 kB / 0.8235 GB, free: 12.84 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 7.766e-05/0.5022, allocations: 154.4 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.5022, allocations: 10.12 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.5022, allocations: 5.062 kB / 0.8236 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5022, allocations: 1.125 kB / 0.8236 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5023, allocations: 3.938 kB / 0.8236 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5023, allocations: 4 kB / 0.8236 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.5026, allocations: 140.9 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5026, allocations: 1.125 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.5027, allocations: 2.953 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.5027, allocations: 1.25 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5027, allocations: 2.172 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5027, allocations: 1.344 kB / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5027, allocations: 0 / 0.8238 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.5029, allocations: 281.1 kB / 0.824 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.5029, allocations: 2.516 kB / 0.824 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.5029, allocations: 6.812 kB / 0.8241 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.5029, allocations: 4.109 kB / 0.8241 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5031, allocations: 13.25 kB / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.5031, allocations: 1.812 kB / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.5031, allocations: 101.3 kB / 0.8242 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5031, allocations: 0 / 0.8242 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003568/0.5035, allocations: 58.47 kB / 0.8242 GB, free: 12.17 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.000548/0.504, allocations: 0.861 MB / 0.8251 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.5043, allocations: 324.2 kB / 0.8254 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5043, allocations: 0 / 0.8254 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.5044, allocations: 130.9 kB / 0.8255 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.5046, allocations: 6.734 kB / 0.8255 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.5061, allocations: 2.032 MB / 0.8275 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.383e-05/0.5061, allocations: 74.12 kB / 0.8276 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.5061, allocations: 2.125 kB / 0.8276 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.5062, allocations: 14.72 kB / 0.8276 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.5062, allocations: 0 / 0.8276 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.5262, allocations: 3.316 MB / 0.8308 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.39, allocations: 8.906 kB / 0.8308 GB, free: 8.359 MB / 0.6198 GB " [Timeout remaining time 653] (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.273723949212581] Failed to read output from testmodel.py, exit status != 0: 7.468271567951888 7.482836121 6.981205299 Calling exit ...