Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008122/0.0008122, allocations: 103 kB / 15.06 MB, free: 1.098 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.0008419/0.0008419, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 265.9 kB / 291.2 MB, free: 2.012 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7047/0.7047, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 13.16 kB / 0.5683 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 83.09 MB / 0.6494 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001339/0.1158, allocations: 1.129 MB / 0.6505 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009687/0.1167, allocations: 0.7189 MB / 0.6512 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1168, allocations: 2.406 kB / 0.6513 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.1168, allocations: 0 / 0.6513 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.1169, allocations: 11.97 kB / 0.6513 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.1174, allocations: 122.9 kB / 0.6514 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.1174, allocations: 19.98 kB / 0.6514 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.1175, allocations: 11.98 kB / 0.6514 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.1175, allocations: 7.984 kB / 0.6514 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.1176, allocations: 19.92 kB / 0.6514 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1176, allocations: 0 / 0.6514 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.1178, allocations: 171.7 kB / 0.6516 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.1179, allocations: 9.016 kB / 0.6516 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1179, allocations: 29.7 kB / 0.6516 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1181, allocations: 131.7 kB / 0.6518 GB, free: 1.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1181, allocations: 0.5625 kB / 0.6518 GB, free: 1.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1181, allocations: 0.5625 kB / 0.6518 GB, free: 1.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1181, allocations: 0 / 0.6518 GB, free: 1.246 MB / 446.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.000374/0.1185, allocations: 429.6 kB / 0.6522 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1185, allocations: 12.03 kB / 0.6522 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1185, allocations: 0 / 0.6522 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.1186, allocations: 178.9 kB / 0.6524 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1187, allocations: 7.938 kB / 0.6524 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1187, allocations: 0.5 kB / 0.6524 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1188, allocations: 78.42 kB / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.1189, allocations: 0.7188 kB / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1189, allocations: 0 / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1189, allocations: 4.953 kB / 0.6524 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.119, allocations: 48.53 kB / 0.6525 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1193, allocations: 286.2 kB / 0.6528 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1194, allocations: 63.97 kB / 0.6528 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.1194, allocations: 0.8125 kB / 0.6528 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1195, allocations: 35.09 kB / 0.6529 GB, free: 15.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1195, allocations: 0.5312 kB / 0.6529 GB, free: 15.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.000358/0.1199, allocations: 270.5 kB / 0.6531 GB, free: 15.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1199, allocations: 81.09 kB / 0.6532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.12, allocations: 126.4 kB / 0.6533 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.12, allocations: 25.7 kB / 0.6533 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.1201, allocations: 92.56 kB / 0.6534 GB, free: 15.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.1201, allocations: 8.625 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1201, allocations: 0 / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.1202, allocations: 324.8 kB / 0.6537 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.1203, allocations: 59.95 kB / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.1203, allocations: 60.67 kB / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1205, allocations: 112 kB / 0.654 GB, free: 14.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1205, allocations: 0.875 kB / 0.654 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002427/0.1207, allocations: 221.9 kB / 0.6542 GB, free: 14.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.1208, allocations: 68.08 kB / 0.6542 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1208, allocations: 0 / 0.6542 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1208, allocations: 5.797 kB / 0.6543 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.1208, allocations: 4 kB / 0.6543 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1209, allocations: 0 / 0.6543 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1209, allocations: 21.98 kB / 0.6543 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1209, allocations: 0 / 0.6543 GB, free: 14.4 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.121, allocations: 151.5 kB / 0.6544 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.121, allocations: 4 kB / 0.6544 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.1211, allocations: 4.562 kB / 0.6544 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1211, allocations: 4 kB / 0.6544 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1211, allocations: 0.75 kB / 0.6544 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1211, allocations: 0 / 0.6544 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1212, allocations: 181.1 kB / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1212, allocations: 0 / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.1213, allocations: 4 kB / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1213, allocations: 0 / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1213, allocations: 11.92 kB / 0.6546 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1213, allocations: 0 / 0.6546 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1213, allocations: 0 / 0.6546 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1215, allocations: 258.6 kB / 0.6549 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.1216, allocations: 85.02 kB / 0.6549 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1216, allocations: 0.7812 kB / 0.6549 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1217, allocations: 9.047 kB / 0.655 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.1217, allocations: 4 kB / 0.655 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1218, allocations: 8.062 kB / 0.655 GB, free: 13.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.1218, allocations: 99.2 kB / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1218, allocations: 0 / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1221, allocations: 59.98 kB / 0.6551 GB, free: 13.43 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.1223, allocations: 151.2 kB / 0.6553 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1226, allocations: 242.7 kB / 0.6555 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1226, allocations: 4 kB / 0.6555 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1227, allocations: 107.3 kB / 0.6556 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.1228, allocations: 7.203 kB / 0.6556 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1231, allocations: 180.6 kB / 0.6558 GB, free: 12.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1233, allocations: 0.6927 MB / 0.6565 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.305e-05/0.1233, allocations: 0 / 0.6565 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.1233, allocations: 11.44 kB / 0.6565 GB, free: 11.96 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1233, allocations: 0 / 0.6565 GB, free: 11.96 MB / 462.1 MB Notification: Performance of Templates: time 0.003292/0.1266, allocations: 1.624 MB / 0.6581 GB, free: 10.37 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: