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.0008979/0.0008979, 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.0008783/0.0008783, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9322/0.9322, allocations: 230.6 MB / 256 MB, free: 9.621 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.8126/0.8126, allocations: 203.8 MB / 0.5042 GB, free: 10.5 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.0008994/0.0008994, allocations: 69.42 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5057, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001829/0.5076, allocations: 1.455 MB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.5086, allocations: 0.7814 MB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.5086, allocations: 1.312 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.988e-05/0.5087, allocations: 5.203 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.5087, allocations: 4.969 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.5093, allocations: 186.8 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.5094, allocations: 42.83 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.5094, allocations: 1.125 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.5095, allocations: 19.12 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.5095, allocations: 19.44 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.5095, allocations: 2.094 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.5099, allocations: 215.4 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.51, allocations: 10.33 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.51, allocations: 14.78 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.5102, allocations: 201.2 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5103, allocations: 0 / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5103, allocations: 0 / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.5103, allocations: 0 / 0.8207 GB, free: 15.32 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.0004234/0.5107, allocations: 362 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.5107, allocations: 10.97 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.5107, allocations: 35.5 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.5108, allocations: 8.859 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.5109, allocations: 120.6 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5109, allocations: 384 / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5109, allocations: 9.844 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.511, allocations: 113.8 kB / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.5111, allocations: 2.875 kB / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.5111, allocations: 0 / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5111, allocations: 0.6094 kB / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.5111, allocations: 73.14 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.5115, allocations: 242.2 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.177e-05/0.5115, allocations: 87.73 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.5116, allocations: 75.55 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.5116, allocations: 4 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.5116, allocations: 32.73 kB / 0.8218 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5116, allocations: 1.344 kB / 0.8218 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002923/0.5119, allocations: 242.7 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.512, allocations: 79.91 kB / 0.8221 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.512, allocations: 127.8 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.5121, allocations: 27.05 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.5121, allocations: 88.27 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.5121, allocations: 10.36 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.5121, allocations: 28.08 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.5122, allocations: 317.1 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.5123, allocations: 123.4 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.5124, allocations: 119.1 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5126, allocations: 197 kB / 0.8231 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5126, allocations: 0 / 0.8231 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002015/0.5128, allocations: 282.7 kB / 0.8234 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.5128, allocations: 59.22 kB / 0.8234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5128, allocations: 2.953 kB / 0.8234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5128, allocations: 5.344 kB / 0.8234 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.5129, allocations: 2.625 kB / 0.8234 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5129, allocations: 0 / 0.8234 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.5129, allocations: 15.94 kB / 0.8235 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.5129, allocations: 2.312 kB / 0.8235 GB, free: 12.86 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.333e-05/0.513, allocations: 155.6 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.513, allocations: 6.359 kB / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.513, allocations: 5.219 kB / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.513, allocations: 1.375 kB / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.513, allocations: 7.938 kB / 0.8236 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.513, allocations: 2.859 kB / 0.8236 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.5131, allocations: 141.2 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5131, allocations: 0.9688 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.5131, allocations: 2.594 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5131, allocations: 1.312 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5131, allocations: 1.344 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.5131, allocations: 0 / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5131, allocations: 0 / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.5133, allocations: 284.2 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.5133, allocations: 5.703 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.5133, allocations: 6.438 kB / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.5134, allocations: 3.969 kB / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.5135, allocations: 12.08 kB / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5135, allocations: 6.188 kB / 0.8241 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.5135, allocations: 99.28 kB / 0.8242 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5135, allocations: 1.625 kB / 0.8242 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002069/0.5137, allocations: 53.69 kB / 0.8242 GB, free: 12.2 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.0004812/0.5142, allocations: 0.864 MB / 0.8251 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.5145, allocations: 324.5 kB / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5145, allocations: 0 / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.5146, allocations: 131.2 kB / 0.8255 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.5147, allocations: 4.281 kB / 0.8255 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.5162, allocations: 2.029 MB / 0.8275 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5165, allocations: 76.55 kB / 0.8276 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.5166, allocations: 2.75 kB / 0.8276 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.5166, allocations: 13.27 kB / 0.8276 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5166, allocations: 0 / 0.8276 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.5359, allocations: 3.319 MB / 0.8308 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.098, allocations: 13.8 kB / 0.8308 GB, free: 8.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.02739972062409] Failed to read output from testmodel.py, exit status != 0: 7.17683809902519 7.188977314 6.676044545 Calling exit ...