Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001122, allocations: 107.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.33 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1383, allocations: 76.19 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002264/0.1406, allocations: 1.396 MB / 0.6335 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1419, allocations: 0.7839 MB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.1419, allocations: 0 / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.142, allocations: 0 / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.142, allocations: 7.938 kB / 0.6342 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.1426, allocations: 170.7 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1427, allocations: 51.84 kB / 0.6344 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.986e-05/0.1428, allocations: 8 kB / 0.6345 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.1429, allocations: 19.97 kB / 0.6345 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.1429, allocations: 15.92 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1429, allocations: 8 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.1433, allocations: 203.7 kB / 0.6347 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1433, allocations: 15.92 kB / 0.6347 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1434, allocations: 15.92 kB / 0.6347 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1436, allocations: 191.5 kB / 0.6349 GB, free: 1.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1436, allocations: 0 / 0.6349 GB, free: 1.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1436, allocations: 0 / 0.6349 GB, free: 1.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1437, allocations: 0 / 0.6349 GB, free: 1.488 MB / 478.1 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.0004631/0.1441, allocations: 440.5 kB / 0.6353 GB, free: 1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1442, allocations: 12.03 kB / 0.6353 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1442, allocations: 4.938 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1443, allocations: 172.3 kB / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1443, allocations: 384 / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1444, allocations: 8.375 kB / 0.6355 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1445, allocations: 73.98 kB / 0.6356 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1446, allocations: 3.984 kB / 0.6356 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1446, allocations: 0 / 0.6356 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1446, allocations: 0 / 0.6356 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1447, allocations: 51.95 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1451, allocations: 280.8 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1452, allocations: 58.56 kB / 0.636 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.1453, allocations: 44.91 kB / 0.636 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.1453, allocations: 0 / 0.636 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1453, allocations: 38.56 kB / 0.636 GB, free: 156 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1453, allocations: 0 / 0.636 GB, free: 156 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003992/0.1457, allocations: 191.2 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1458, allocations: 77.11 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1459, allocations: 137.6 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1459, allocations: 25.7 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.146, allocations: 88.14 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.146, allocations: 7.906 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.1461, allocations: 29.67 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.1462, allocations: 314.8 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1463, allocations: 59.95 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.1464, allocations: 64.03 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1466, allocations: 189.8 kB / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1466, allocations: 0 / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002698/0.1469, allocations: 220.9 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.1469, allocations: 71.39 kB / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1469, allocations: 0 / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.147, allocations: 0 / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.147, allocations: 4 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.147, allocations: 0 / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1471, allocations: 11.98 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1471, allocations: 0 / 0.6375 GB, free: 14.57 MB / 494.1 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.559e-05/0.1472, allocations: 152.1 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1472, allocations: 11.91 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.1473, allocations: 7.906 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1473, allocations: 0 / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1473, allocations: 0 / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1473, allocations: 0 / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1474, allocations: 173.6 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1475, allocations: 0 / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.1475, allocations: 4 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1475, allocations: 0 / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1475, allocations: 4 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1475, allocations: 3.984 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.1475, allocations: 4 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1478, allocations: 253 kB / 0.638 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.1478, allocations: 85.05 kB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1479, allocations: 0 / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1479, allocations: 11.98 kB / 0.6381 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.148, allocations: 4 kB / 0.6381 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1481, allocations: 32 / 0.6381 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.1481, allocations: 103.3 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1481, allocations: 0 / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1484, allocations: 63.92 kB / 0.6383 GB, free: 13.6 MB / 494.1 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.0002322/0.1487, allocations: 147.2 kB / 0.6384 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.149, allocations: 246.7 kB / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.149, allocations: 0 / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1491, allocations: 103.4 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1494, allocations: 11.94 kB / 0.6388 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.1497, allocations: 165.4 kB / 0.6389 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1499, allocations: 0.6888 MB / 0.6396 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1499, allocations: 0 / 0.6396 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.15, allocations: 7.438 kB / 0.6396 GB, free: 12.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.15, allocations: 0 / 0.6396 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Templates: time 0.003958/0.1539, allocations: 1.758 MB / 0.6413 GB, free: 10.4 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)