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.001193/0.001193, 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.001314/0.001314, 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.8626/0.8626, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7056/0.7056, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.361e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001602/0.001616, allocations: 1.451 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.002524, allocations: 0.7869 MB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.002551, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.041e-05/0.002612, allocations: 3.984 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.002656, allocations: 11.88 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.003133, allocations: 178.8 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.003226, allocations: 47.91 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.003296, allocations: 7.984 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.003343, allocations: 19.98 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.003384, allocations: 11.98 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003398, allocations: 4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.003634, allocations: 219.5 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.003675, allocations: 11.98 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.003702, allocations: 11.94 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.00392, allocations: 231.5 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003923, allocations: 4 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003923, allocations: 0 / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003927, allocations: 7.938 kB / 0.621 GB, free: 10.68 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.0003589/0.004285, allocations: 353.4 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.004326, allocations: 13.47 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.411e-05/0.00435, allocations: 34.75 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.004376, allocations: 8.891 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.004448, allocations: 113.7 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.004458, allocations: 4.375 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.004467, allocations: 4.375 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.004615, allocations: 103.9 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004621, allocations: 192 / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.00463, allocations: 8.125 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004635, allocations: 4 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.004705, allocations: 69.67 kB / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.004996, allocations: 251.9 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.005079, allocations: 84.25 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.005138, allocations: 78.55 kB / 0.6221 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.005149, allocations: 3.938 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.005168, allocations: 34.56 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005169, allocations: 4 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002679/0.005437, allocations: 246.6 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.005467, allocations: 77.11 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.005536, allocations: 125.8 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005547, allocations: 29.7 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.005582, allocations: 84.14 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.005595, allocations: 7.953 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.005625, allocations: 25.64 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.005694, allocations: 314.8 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.005775, allocations: 127.4 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.005844, allocations: 115.4 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.005973, allocations: 193.9 kB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005975, allocations: 0 / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002382/0.006213, allocations: 288.2 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.006248, allocations: 59.41 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.006252, allocations: 7.984 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.006263, allocations: 0 / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.006307, allocations: 0 / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.00631, allocations: 8 kB / 0.6237 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.006333, allocations: 4 kB / 0.6237 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.006342, allocations: 4 kB / 0.6237 GB, free: 7.516 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 6.381e-05/0.006406, allocations: 144.5 kB / 0.6239 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.006423, allocations: 15.89 kB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.006441, allocations: 11.98 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006442, allocations: 64 / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.006447, allocations: 4 kB / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006449, allocations: 0 / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.006546, allocations: 132.7 kB / 0.624 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006548, allocations: 7.938 kB / 0.624 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.006563, allocations: 11.98 kB / 0.6241 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.006564, allocations: 0 / 0.6241 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006572, allocations: 4.234 kB / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006572, allocations: 0 / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006573, allocations: 0 / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.006737, allocations: 278.8 kB / 0.6243 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.006746, allocations: 19.86 kB / 0.6243 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.006757, allocations: 4 kB / 0.6243 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.006793, allocations: 4 kB / 0.6244 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.006859, allocations: 12.02 kB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006862, allocations: 0 / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.006906, allocations: 110.5 kB / 0.6245 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.006906, allocations: 0 / 0.6245 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001968/0.007103, allocations: 51.94 kB / 0.6245 GB, free: 6.629 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.0004448/0.007547, allocations: 0.8756 MB / 0.6254 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.00777, allocations: 319.8 kB / 0.6257 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007772, allocations: 4.031 kB / 0.6257 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.007844, allocations: 129.1 kB / 0.6258 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.007992, allocations: 4 kB / 0.6258 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.009216, allocations: 2.029 MB / 0.6278 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.009259, allocations: 71.33 kB / 0.6279 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.009274, allocations: 3.938 kB / 0.6279 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.009301, allocations: 16.56 kB / 0.6279 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of SimCode: time 5.82e-07/0.009302, allocations: 0 / 0.6279 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.02573, allocations: 3.462 MB / 0.6313 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/6.982, allocations: 10.61 kB / 0.6313 GB, free: 15.66 MB / 0.6042 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: 9.645718815736473] Failed to read output from testmodel.py, exit status != 0: 7.061800369992852 7.076052449 7.069274236 Calling exit ...