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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8249/0.8249, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001394, allocations: 176.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 91.84 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 285 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.176e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5597, allocations: 82.78 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.7217, allocations: 109.4 MB / 0.8643 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.7221, allocations: 89.62 kB / 0.8644 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009654/0.7317, allocations: 3.245 MB / 0.8676 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7318, allocations: 0 / 0.8676 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7318, allocations: 0 / 0.8676 GB, free: 15.11 MB / 0.5417 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.0004763/0.7323, allocations: 425.8 kB / 0.868 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.7323, allocations: 12.02 kB / 0.868 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.7324, allocations: 7.906 kB / 0.868 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.7325, allocations: 167 kB / 0.8682 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.7326, allocations: 3.953 kB / 0.8682 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.7326, allocations: 4 kB / 0.8682 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001452/0.7327, allocations: 35.98 kB / 0.8682 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.7329, allocations: 73.61 kB / 0.8683 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7329, allocations: 4 kB / 0.8683 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7329, allocations: 0 / 0.8683 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7329, allocations: 0 / 0.8683 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.7333, allocations: 265.3 kB / 0.8685 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.7334, allocations: 50.56 kB / 0.8686 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.7335, allocations: 44.92 kB / 0.8686 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.7335, allocations: 4 kB / 0.8686 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.7336, allocations: 34.5 kB / 0.8687 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.7336, allocations: 4 kB / 0.8687 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002756/0.7339, allocations: 97.66 kB / 0.8688 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.7339, allocations: 81.11 kB / 0.8688 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.734, allocations: 109 kB / 0.8689 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7341, allocations: 29.7 kB / 0.869 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.7341, allocations: 92.06 kB / 0.8691 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.7342, allocations: 11.91 kB / 0.8691 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.7342, allocations: 0 / 0.8691 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7343, allocations: 314.8 kB / 0.8694 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.7344, allocations: 47.97 kB / 0.8694 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.7345, allocations: 55.95 kB / 0.8695 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.7346, allocations: 56.03 kB / 0.8695 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7346, allocations: 0 / 0.8695 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002449/0.7349, allocations: 149.5 kB / 0.8697 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.735, allocations: 63.39 kB / 0.8697 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.735, allocations: 11.88 kB / 0.8697 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.735, allocations: 0 / 0.8697 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.7351, allocations: 4 kB / 0.8697 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7351, allocations: 0 / 0.8697 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.7352, allocations: 15.89 kB / 0.8698 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.7352, allocations: 4 kB / 0.8698 GB, free: 12.65 MB / 0.5417 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 () * 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 0.0001447/0.7354, allocations: 134.7 kB / 0.8699 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001994/0.7356, allocations: 109.6 kB / 0.87 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.7356, allocations: 11.94 kB / 0.87 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.7356, allocations: 4.344 kB / 0.87 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7357, allocations: 3.984 kB / 0.87 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7357, allocations: 0 / 0.87 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7357, allocations: 0 / 0.87 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.7359, allocations: 146.2 kB / 0.8702 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7359, allocations: 7.953 kB / 0.8702 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.7359, allocations: 11.92 kB / 0.8702 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7359, allocations: 0 / 0.8702 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7359, allocations: 0 / 0.8702 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.736, allocations: 4 kB / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.736, allocations: 0 / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.7362, allocations: 203.5 kB / 0.8704 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.7363, allocations: 84.97 kB / 0.8705 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.7363, allocations: 0 / 0.8705 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.7364, allocations: 11.98 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.7365, allocations: 4 kB / 0.8705 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.7365, allocations: 4.031 kB / 0.8705 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.7366, allocations: 103.6 kB / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7366, allocations: 0 / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004246/0.7371, allocations: 71.8 kB / 0.8706 GB, free: 11.66 MB / 0.5417 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) * 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.0009155/0.738, allocations: 0.806 MB / 0.8714 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.7383, allocations: 222.8 kB / 0.8716 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7383, allocations: 0 / 0.8716 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.7384, allocations: 99.38 kB / 0.8717 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.7386, allocations: 0 / 0.8717 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.7392, allocations: 185.4 kB / 0.8719 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.7395, allocations: 0.6885 MB / 0.8726 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.7395, allocations: 0 / 0.8726 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.7396, allocations: 27.48 kB / 0.8726 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7396, allocations: 0 / 0.8726 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.766, allocations: 2.113 MB / 0.8747 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.7663, allocations: 192.7 kB / 0.8749 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.54, allocations: 1.562 kB / 0.8749 GB, free: 7.242 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)