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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 181.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7531/0.7531, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 404.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000969/0.000969, allocations: 99.75 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009671/0.0009671, allocations: 51.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1183, allocations: 80.43 MB / 0.6422 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002629/0.121, allocations: 1.476 MB / 0.6436 GB, free: 3.902 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1223, allocations: 0.8166 MB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.1223, allocations: 0 / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.514e-05/0.1224, allocations: 0 / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.1225, allocations: 3.984 kB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.1231, allocations: 129 kB / 0.6445 GB, free: 2.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.1231, allocations: 39.91 kB / 0.6446 GB, free: 2.914 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.98e-05/0.1232, allocations: 8 kB / 0.6446 GB, free: 2.906 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.1233, allocations: 11.98 kB / 0.6446 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.1233, allocations: 19.92 kB / 0.6446 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1233, allocations: 0 / 0.6446 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.1236, allocations: 199.7 kB / 0.6448 GB, free: 2.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1237, allocations: 7.984 kB / 0.6448 GB, free: 2.672 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.1237, allocations: 15.88 kB / 0.6448 GB, free: 2.656 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.124, allocations: 195.9 kB / 0.645 GB, free: 2.465 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.124, allocations: 4 kB / 0.645 GB, free: 2.461 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.124, allocations: 0 / 0.645 GB, free: 2.461 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.124, allocations: 3.938 kB / 0.645 GB, free: 2.457 MB / 442.7 MB 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.0004584/0.1245, allocations: 434.7 kB / 0.6454 GB, free: 1.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1245, allocations: 12.02 kB / 0.6454 GB, free: 1.961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1246, allocations: 8.844 kB / 0.6454 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1247, allocations: 160.4 kB / 0.6456 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1247, allocations: 4.375 kB / 0.6456 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1247, allocations: 4.125 kB / 0.6456 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1249, allocations: 77.66 kB / 0.6457 GB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1249, allocations: 4 kB / 0.6457 GB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1249, allocations: 0 / 0.6457 GB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1249, allocations: 0 / 0.6457 GB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.125, allocations: 47.91 kB / 0.6457 GB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1254, allocations: 280.8 kB / 0.646 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1255, allocations: 62.55 kB / 0.6461 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.1256, allocations: 44.92 kB / 0.6461 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1256, allocations: 0 / 0.6461 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1257, allocations: 38.53 kB / 0.6461 GB, free: 1.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1257, allocations: 0 / 0.6461 GB, free: 1.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003715/0.126, allocations: 183.3 kB / 0.6463 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1261, allocations: 85.14 kB / 0.6464 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.1262, allocations: 129.8 kB / 0.6465 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1262, allocations: 25.7 kB / 0.6465 GB, free: 0.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.1263, allocations: 88.05 kB / 0.6466 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1263, allocations: 15.83 kB / 0.6466 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.1263, allocations: 21.72 kB / 0.6467 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.1264, allocations: 318.7 kB / 0.647 GB, free: 220 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.1265, allocations: 63.95 kB / 0.647 GB, free: 156 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.1266, allocations: 59.97 kB / 0.6471 GB, free: 96 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1269, allocations: 197.8 kB / 0.6473 GB, free: 15.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1269, allocations: 0 / 0.6473 GB, free: 15.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002708/0.1272, allocations: 217 kB / 0.6475 GB, free: 15.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.1272, allocations: 63.41 kB / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1272, allocations: 0 / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1273, allocations: 4 kB / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.1273, allocations: 3.984 kB / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1273, allocations: 7.984 kB / 0.6476 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.1274, allocations: 15.84 kB / 0.6476 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1274, allocations: 0 / 0.6476 GB, free: 15.54 MB / 458.7 MB 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 9.892e-05/0.1275, allocations: 151.5 kB / 0.6477 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1275, allocations: 4 kB / 0.6477 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.1276, allocations: 3.906 kB / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1276, allocations: 0 / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1276, allocations: 4 kB / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1276, allocations: 0 / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1277, allocations: 177.6 kB / 0.6479 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1278, allocations: 0 / 0.6479 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.1278, allocations: 11.92 kB / 0.6479 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1278, allocations: 0 / 0.6479 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1278, allocations: 0 / 0.6479 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1278, allocations: 0 / 0.6479 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1278, allocations: 64 / 0.6479 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.1284, allocations: 0.8622 MB / 0.6487 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.1284, allocations: 81.02 kB / 0.6488 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1285, allocations: 3.984 kB / 0.6488 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.1285, allocations: 7.938 kB / 0.6488 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1286, allocations: 11.98 kB / 0.6488 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1286, allocations: 4 kB / 0.6488 GB, free: 14.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.1287, allocations: 91.27 kB / 0.6489 GB, free: 13.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1287, allocations: 7.969 kB / 0.6489 GB, free: 13.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.1291, allocations: 60 kB / 0.649 GB, free: 13.92 MB / 458.7 MB 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.0002485/0.1294, allocations: 147.2 kB / 0.6491 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1297, allocations: 234.7 kB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1297, allocations: 0 / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1298, allocations: 107.3 kB / 0.6495 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.13, allocations: 6.109 kB / 0.6495 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1304, allocations: 294.1 kB / 0.6498 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1306, allocations: 0.6887 MB / 0.6504 GB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.392e-05/0.1307, allocations: 0 / 0.6504 GB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.1307, allocations: 7.438 kB / 0.6504 GB, free: 12.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1307, allocations: 0 / 0.6504 GB, free: 12.34 MB / 458.7 MB Notification: Performance of Templates: time 0.003491/0.1342, allocations: 1.681 MB / 0.6521 GB, free: 10.67 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)