Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.702/0.702, allocations: 128.7 MB / 144.5 MB, free: 1.383 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 188.1 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205 MB / 408.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000995/0.0009953, allocations: 101.9 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 52.59 kB / 0.558 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1141, allocations: 75.48 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002399/0.1166, allocations: 1.473 MB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1177, allocations: 0.8663 MB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.1177, allocations: 0 / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.637e-05/0.1178, allocations: 3.984 kB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.1179, allocations: 4 kB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.1184, allocations: 127.7 kB / 0.6341 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.1185, allocations: 31.98 kB / 0.6341 GB, free: 30.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.1185, allocations: 15.97 kB / 0.6342 GB, free: 30.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.1186, allocations: 15.94 kB / 0.6342 GB, free: 30.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.1186, allocations: 15.92 kB / 0.6342 GB, free: 30.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1186, allocations: 4 kB / 0.6342 GB, free: 30.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.1189, allocations: 183.7 kB / 0.6344 GB, free: 30.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.1189, allocations: 7.984 kB / 0.6344 GB, free: 30.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.119, allocations: 23.86 kB / 0.6344 GB, free: 30.22 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1192, allocations: 191.6 kB / 0.6346 GB, free: 30.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1192, allocations: 3.938 kB / 0.6346 GB, free: 30.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1192, allocations: 0 / 0.6346 GB, free: 30.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.1192, allocations: 0 / 0.6346 GB, free: 30.03 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.0004147/0.1197, allocations: 435.1 kB / 0.635 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1197, allocations: 8.031 kB / 0.635 GB, free: 29.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.1198, allocations: 8.844 kB / 0.635 GB, free: 29.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.1199, allocations: 180.2 kB / 0.6352 GB, free: 29.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1199, allocations: 384 / 0.6352 GB, free: 29.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1199, allocations: 4.375 kB / 0.6352 GB, free: 29.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1201, allocations: 77.98 kB / 0.6353 GB, free: 29.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1201, allocations: 4 kB / 0.6353 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1201, allocations: 4 kB / 0.6353 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1201, allocations: 0 / 0.6353 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.1202, allocations: 51.89 kB / 0.6353 GB, free: 29.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.1206, allocations: 272.9 kB / 0.6356 GB, free: 28.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1207, allocations: 58.55 kB / 0.6356 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.1208, allocations: 48.91 kB / 0.6357 GB, free: 28.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1208, allocations: 0 / 0.6357 GB, free: 28.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1209, allocations: 34.56 kB / 0.6357 GB, free: 28.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.1209, allocations: 3.984 kB / 0.6357 GB, free: 28.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003531/0.1212, allocations: 191.2 kB / 0.6359 GB, free: 28.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1213, allocations: 77.11 kB / 0.636 GB, free: 28.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.1214, allocations: 125.8 kB / 0.6361 GB, free: 28.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.1214, allocations: 29.73 kB / 0.6361 GB, free: 28.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.1214, allocations: 88.14 kB / 0.6362 GB, free: 28.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.1215, allocations: 7.844 kB / 0.6362 GB, free: 28.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1215, allocations: 25.7 kB / 0.6362 GB, free: 28.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.1216, allocations: 314.8 kB / 0.6365 GB, free: 27.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.1217, allocations: 55.95 kB / 0.6366 GB, free: 27.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.1218, allocations: 59.97 kB / 0.6367 GB, free: 27.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1219, allocations: 201.8 kB / 0.6368 GB, free: 27.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.122, allocations: 4 kB / 0.6369 GB, free: 27.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002203/0.1222, allocations: 216.9 kB / 0.6371 GB, free: 27.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.1223, allocations: 63.39 kB / 0.6371 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1223, allocations: 0 / 0.6371 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1223, allocations: 0 / 0.6371 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.1224, allocations: 4 kB / 0.6371 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1224, allocations: 3.938 kB / 0.6371 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.1224, allocations: 7.984 kB / 0.6371 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1224, allocations: 8 kB / 0.6371 GB, free: 27.12 MB / 442.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 7.213e-05/0.1225, allocations: 147.5 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1226, allocations: 7.906 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.1226, allocations: 15.84 kB / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1226, allocations: 0 / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1226, allocations: 0 / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1226, allocations: 0 / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1227, allocations: 173.6 kB / 0.6375 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1227, allocations: 3.938 kB / 0.6375 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.1228, allocations: 12.06 kB / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1228, allocations: 0 / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1228, allocations: 4 kB / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1228, allocations: 0 / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1228, allocations: 0 / 0.6375 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.1232, allocations: 0.8505 MB / 0.6383 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.1233, allocations: 81.11 kB / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1233, allocations: 4 kB / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.1234, allocations: 7.984 kB / 0.6384 GB, free: 25.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1235, allocations: 7.938 kB / 0.6384 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1235, allocations: 4 kB / 0.6384 GB, free: 25.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.1235, allocations: 99.64 kB / 0.6385 GB, free: 25.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1235, allocations: 0 / 0.6385 GB, free: 25.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.124, allocations: 59.98 kB / 0.6386 GB, free: 25.5 MB / 442.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.0002372/0.1242, allocations: 147.2 kB / 0.6387 GB, free: 25.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1245, allocations: 242.7 kB / 0.6389 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1245, allocations: 0 / 0.6389 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.1246, allocations: 107.3 kB / 0.639 GB, free: 24.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1248, allocations: 6.781 kB / 0.6391 GB, free: 24.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.1252, allocations: 295.9 kB / 0.6393 GB, free: 24.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.1254, allocations: 0.6848 MB / 0.64 GB, free: 23.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.1254, allocations: 0 / 0.64 GB, free: 23.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.1254, allocations: 7.438 kB / 0.64 GB, free: 23.92 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1254, allocations: 4 kB / 0.64 GB, free: 23.92 MB / 442.7 MB Notification: Performance of Templates: time 0.003978/0.1294, allocations: 1.705 MB / 0.6417 GB, free: 22.25 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)