Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001106/0.001106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001155/0.001155, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8675/0.8675, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7023/0.7023, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.668e-05, allocations: 10.16 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001754/0.001771, allocations: 1.446 MB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.002808, allocations: 0.7908 MB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.002841, allocations: 4 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.87e-05/0.00291, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.002958, allocations: 7.875 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.003506, allocations: 178 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.003611, allocations: 47.89 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.003691, allocations: 4 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.003745, allocations: 19.98 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.003804, allocations: 19.97 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.00382, allocations: 4 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.004073, allocations: 215.5 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.004118, allocations: 8 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.004151, allocations: 15.92 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.004382, allocations: 227.5 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004386, allocations: 8 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.193e-06/0.004387, allocations: 7.938 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004392, allocations: 0 / 0.621 GB, free: 10.62 MB / 0.5886 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.0003922/0.004784, allocations: 361.4 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.004821, allocations: 8.031 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.452e-05/0.004846, allocations: 30.75 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.004878, allocations: 8.891 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.004962, allocations: 113.7 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.004973, allocations: 384 / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.004982, allocations: 4.375 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.005143, allocations: 115.9 kB / 0.6217 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.00515, allocations: 4.188 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.00516, allocations: 4.125 kB / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005166, allocations: 0 / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.005239, allocations: 77.66 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.005531, allocations: 232 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/0.005614, allocations: 88.19 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.005673, allocations: 82.55 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.005685, allocations: 0 / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.005702, allocations: 34.56 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.005703, allocations: 0 / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002684/0.005971, allocations: 242.8 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.006007, allocations: 89.03 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.006076, allocations: 121.8 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.006088, allocations: 25.7 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.006123, allocations: 88.12 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.006137, allocations: 19.83 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.006166, allocations: 13.72 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.00624, allocations: 322.8 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.006321, allocations: 123.4 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.006394, allocations: 115.4 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.006537, allocations: 201.9 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.006541, allocations: 0 / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003253/0.006866, allocations: 280.3 kB / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.006907, allocations: 67.33 kB / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006912, allocations: 0 / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.006923, allocations: 0 / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.006972, allocations: 4 kB / 0.6238 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006977, allocations: 7.984 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.007001, allocations: 8 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.007012, allocations: 8.062 kB / 0.6238 GB, free: 7.441 MB / 0.5886 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.05e-05/0.007083, allocations: 148.5 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.007099, allocations: 11.89 kB / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.007117, allocations: 4 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007119, allocations: 0 / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.007123, allocations: 0 / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007126, allocations: 0 / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.007228, allocations: 148.7 kB / 0.6241 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007229, allocations: 3.938 kB / 0.6241 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.007243, allocations: 4 kB / 0.6241 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.007244, allocations: 0 / 0.6241 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007251, allocations: 0 / 0.6241 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007252, allocations: 3.938 kB / 0.6241 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007254, allocations: 3.984 kB / 0.6241 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.007428, allocations: 278.8 kB / 0.6244 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.007434, allocations: 7.938 kB / 0.6244 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007446, allocations: 0 / 0.6244 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.007482, allocations: 12.02 kB / 0.6244 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.007557, allocations: 4 kB / 0.6244 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.007561, allocations: 0 / 0.6244 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.007599, allocations: 106.3 kB / 0.6245 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007599, allocations: 0 / 0.6245 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002097/0.007809, allocations: 63.86 kB / 0.6246 GB, free: 6.57 MB / 0.5886 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.0004356/0.008245, allocations: 0.864 MB / 0.6254 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.008472, allocations: 327.8 kB / 0.6257 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008474, allocations: 0 / 0.6257 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.008547, allocations: 129.1 kB / 0.6259 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.008696, allocations: 4 kB / 0.6259 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.009906, allocations: 2.033 MB / 0.6279 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.009953, allocations: 71.33 kB / 0.6279 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.59e-05/0.009969, allocations: 4.062 kB / 0.6279 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.009998, allocations: 16.5 kB / 0.6279 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/0.009999, allocations: 0 / 0.6279 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.02562, allocations: 3.454 MB / 0.6313 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.201, allocations: 1.312 kB / 0.6313 GB, free: 15.6 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.875722327269614] Failed to read output from testmodel.py, exit status != 0: 7.2790533090010285 7.287353589 7.28128503 Calling exit ...