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.0007445/0.0007445, 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.0008422/0.0008422, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9296/0.9296, allocations: 230.6 MB / 256 MB, free: 9.781 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.7999/0.7999, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.0009128/0.0009128, allocations: 66.62 kB / 0.7182 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4954, allocations: 102 MB / 0.8179 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00178/0.4972, allocations: 1.462 MB / 0.8193 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4982, allocations: 0.8479 MB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.4983, allocations: 0.5938 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.574e-05/0.4984, allocations: 5.156 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.4984, allocations: 7.078 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.499, allocations: 182.9 kB / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4991, allocations: 47.17 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.4992, allocations: 5.75 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.4992, allocations: 12.05 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.4993, allocations: 23.09 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4993, allocations: 5.25 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.4996, allocations: 229.7 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.4996, allocations: 9.047 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.4996, allocations: 20.42 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.4999, allocations: 189.8 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4999, allocations: 2.359 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4999, allocations: 4 kB / 0.8208 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4999, allocations: 0 / 0.8208 GB, free: 15.28 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.0004196/0.5003, allocations: 359.5 kB / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5004, allocations: 9.359 kB / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.5004, allocations: 38.75 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.5004, allocations: 9.438 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.5005, allocations: 121.4 kB / 0.8214 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5005, allocations: 4.094 kB / 0.8214 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.5005, allocations: 2.906 kB / 0.8214 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.5007, allocations: 79.41 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.5007, allocations: 2.312 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.5007, allocations: 0 / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5007, allocations: 4 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.5008, allocations: 51.56 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.5011, allocations: 248.2 kB / 0.8217 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.5012, allocations: 62.41 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.5013, allocations: 48.25 kB / 0.8218 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.5013, allocations: 0 / 0.8218 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.5013, allocations: 31.17 kB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.5013, allocations: 3.375 kB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000266/0.5016, allocations: 188.8 kB / 0.822 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.5016, allocations: 85.08 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.5017, allocations: 127.1 kB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5017, allocations: 25.7 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.5018, allocations: 87.45 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.5018, allocations: 8.484 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.5018, allocations: 20.22 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.5019, allocations: 319.4 kB / 0.8227 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.502, allocations: 58.66 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.502, allocations: 60.67 kB / 0.8228 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.5022, allocations: 189.9 kB / 0.823 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5022, allocations: 1.594 kB / 0.823 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002147/0.5024, allocations: 220.8 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.5025, allocations: 66.44 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5025, allocations: 1.312 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5025, allocations: 3.984 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.5025, allocations: 4.984 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5025, allocations: 4.75 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.5026, allocations: 10.8 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.5026, allocations: 2.406 kB / 0.8233 GB, free: 13.21 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 8.409e-05/0.5027, allocations: 150 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.5027, allocations: 7.578 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.5027, allocations: 5.219 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5027, allocations: 2.281 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5027, allocations: 0 / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5027, allocations: 4 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.5028, allocations: 145.7 kB / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5028, allocations: 2.156 kB / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.5028, allocations: 3.984 kB / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5028, allocations: 4 kB / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5029, allocations: 2.906 kB / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.5029, allocations: 0 / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5029, allocations: 1 kB / 0.8236 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.5031, allocations: 265.5 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.5031, allocations: 3.438 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.5031, allocations: 0.9844 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.5031, allocations: 5.484 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.5032, allocations: 5.609 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.5032, allocations: 7.938 kB / 0.8239 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.5033, allocations: 97.69 kB / 0.824 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5033, allocations: 0 / 0.824 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002173/0.5035, allocations: 53.77 kB / 0.824 GB, free: 12.58 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.0005101/0.504, allocations: 0.84 MB / 0.8248 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.5042, allocations: 231.6 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5042, allocations: 0 / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.5043, allocations: 102 kB / 0.8252 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.5044, allocations: 8.25 kB / 0.8252 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5058, allocations: 1.757 MB / 0.8269 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.506, allocations: 0.6857 MB / 0.8276 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.506, allocations: 5.062 kB / 0.8276 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.506, allocations: 22 kB / 0.8276 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.506, allocations: 0 / 0.8276 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.5238, allocations: 2.892 MB / 0.8304 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/7.363, allocations: 10.38 kB / 0.8304 GB, free: 9.02 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.240464834030718] Failed to read output from testmodel.py, exit status != 0: 7.438834936823696 7.45027135 6.94830121 Calling exit ...