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.001735/0.001735, allocations: 73.8 kB / 19.76 MB, free: 2.02 MB / 14.72 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.002159/0.002159, allocations: 160.4 kB / 23.01 MB, free: 4.957 MB / 14.72 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 1.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8239/0.8239, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [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.002112/0.002112, allocations: 62.06 kB / 0.5356 GB, free: 5.227 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1498, allocations: 85.88 MB / 0.6195 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00291/0.1527, allocations: 1.44 MB / 0.6209 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1542, allocations: 0.7761 MB / 0.6217 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.1543, allocations: 4 kB / 0.6217 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.42e-05/0.1543, allocations: 3.938 kB / 0.6217 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.1544, allocations: 4 kB / 0.6217 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.1551, allocations: 186.8 kB / 0.6219 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1552, allocations: 47.84 kB / 0.6219 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.1553, allocations: 4 kB / 0.6219 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.1553, allocations: 15.98 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.1554, allocations: 23.91 kB / 0.622 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1554, allocations: 4 kB / 0.622 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1558, allocations: 211.7 kB / 0.6222 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.1559, allocations: 12 kB / 0.6222 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1559, allocations: 23.84 kB / 0.6222 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1562, allocations: 191.5 kB / 0.6224 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1562, allocations: 4 kB / 0.6224 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1562, allocations: 0 / 0.6224 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1562, allocations: 0 / 0.6224 GB, free: 14.62 MB / 0.5294 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.0005359/0.1568, allocations: 360 kB / 0.6227 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1568, allocations: 8.625 kB / 0.6227 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1569, allocations: 12.83 kB / 0.6227 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.157, allocations: 114.4 kB / 0.6229 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.157, allocations: 384 / 0.6229 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.157, allocations: 11.94 kB / 0.6229 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.1572, allocations: 103.3 kB / 0.623 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1572, allocations: 0 / 0.623 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1572, allocations: 4 kB / 0.623 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1572, allocations: 7.984 kB / 0.623 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1574, allocations: 81.66 kB / 0.6231 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1578, allocations: 216.5 kB / 0.6233 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1579, allocations: 88.25 kB / 0.6233 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.158, allocations: 70.61 kB / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.158, allocations: 3.938 kB / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1581, allocations: 34.56 kB / 0.6234 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1581, allocations: 0 / 0.6234 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004759/0.1586, allocations: 242.7 kB / 0.6237 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1586, allocations: 85.12 kB / 0.6238 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1587, allocations: 129.1 kB / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1588, allocations: 25.7 kB / 0.6239 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1588, allocations: 92.12 kB / 0.624 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1588, allocations: 7.891 kB / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.1589, allocations: 21.72 kB / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.159, allocations: 322.8 kB / 0.6243 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1592, allocations: 115.4 kB / 0.6244 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1593, allocations: 119.3 kB / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1596, allocations: 201.9 kB / 0.6247 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1596, allocations: 0 / 0.6247 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000362/0.16, allocations: 280.3 kB / 0.625 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.16, allocations: 73.42 kB / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.16, allocations: 3.938 kB / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1601, allocations: 0 / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.519e-05/0.1601, allocations: 4 kB / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1601, allocations: 3.984 kB / 0.6251 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.1602, allocations: 7.984 kB / 0.6251 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1602, allocations: 0 / 0.6251 GB, free: 11.52 MB / 0.5294 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 0.0001369/0.1603, allocations: 160.5 kB / 0.6253 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1603, allocations: 7.953 kB / 0.6253 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.1604, allocations: 8 kB / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1604, allocations: 0 / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1604, allocations: 0 / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1604, allocations: 0 / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1605, allocations: 121.2 kB / 0.6254 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1605, allocations: 0 / 0.6254 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1606, allocations: 4.062 kB / 0.6254 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1606, allocations: 4 kB / 0.6254 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1606, allocations: 8 kB / 0.6254 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1606, allocations: 0 / 0.6254 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1606, allocations: 0 / 0.6254 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.1609, allocations: 282.8 kB / 0.6257 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.1609, allocations: 0 / 0.6257 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.161, allocations: 4 kB / 0.6257 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.161, allocations: 4 kB / 0.6257 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.1611, allocations: 7.984 kB / 0.6257 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1611, allocations: 11.92 kB / 0.6257 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.1612, allocations: 95.27 kB / 0.6258 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1612, allocations: 4.031 kB / 0.6258 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003255/0.1615, allocations: 63.86 kB / 0.6259 GB, free: 10.68 MB / 0.5294 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.0002591/0.1618, allocations: 139.2 kB / 0.626 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.1622, allocations: 319.8 kB / 0.6263 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1622, allocations: 4 kB / 0.6263 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1624, allocations: 129.1 kB / 0.6264 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1626, allocations: 8.266 kB / 0.6264 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1631, allocations: 227.1 kB / 0.6266 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.31e-05/0.1631, allocations: 71.33 kB / 0.6267 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.1631, allocations: 0 / 0.6267 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.1632, allocations: 12.48 kB / 0.6267 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1632, allocations: 4 kB / 0.6267 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.004873/0.168, allocations: 1.744 MB / 0.6284 GB, free: 7.934 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.397605397040024] Failed to read output from testmodel.py, exit status != 0: 0.17635676893405616 0.192117747 0.032698487000000005 Calling exit ...