Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7794/0.7794, allocations: 141.7 MB / 154.3 MB, free: 15.51 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 186.2 kB / 187.3 MB, free: 11.89 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.398/1.398, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008315/0.0008318, allocations: 96.31 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 264.5 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.853e-05/4.856e-05, allocations: 8 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3886, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.5111, allocations: 109.4 MB / 0.8711 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5114, allocations: 79.83 kB / 0.8712 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009471/0.5208, allocations: 3.212 MB / 0.8743 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5209, allocations: 0 / 0.8743 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5209, allocations: 0 / 0.8743 GB, free: 11.86 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.0003758/0.5213, allocations: 433.8 kB / 0.8748 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5213, allocations: 12.03 kB / 0.8748 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.5214, allocations: 4 kB / 0.8748 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5215, allocations: 180.1 kB / 0.8749 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5215, allocations: 7.953 kB / 0.875 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.5215, allocations: 0 / 0.875 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.5217, allocations: 97.64 kB / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5217, allocations: 0 / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5217, allocations: 4 kB / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.5218, allocations: 4 kB / 0.8751 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.5219, allocations: 59.95 kB / 0.8751 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.522, allocations: 177.6 kB / 0.8753 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.5221, allocations: 82.47 kB / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.5223, allocations: 72.84 kB / 0.8754 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.5223, allocations: 0 / 0.8754 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5223, allocations: 34.56 kB / 0.8755 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.5223, allocations: 0 / 0.8755 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.5226, allocations: 187.2 kB / 0.8756 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5227, allocations: 93.12 kB / 0.8757 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5228, allocations: 126.2 kB / 0.8758 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5228, allocations: 29.7 kB / 0.8759 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.5229, allocations: 88.12 kB / 0.876 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.5229, allocations: 15.81 kB / 0.876 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.5229, allocations: 0 / 0.876 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.523, allocations: 322.8 kB / 0.8763 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.5232, allocations: 95.94 kB / 0.8764 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.5233, allocations: 99.94 kB / 0.8765 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.5234, allocations: 171.3 kB / 0.8766 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5234, allocations: 0 / 0.8766 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003264/0.5238, allocations: 300.9 kB / 0.8769 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.5238, allocations: 76.91 kB / 0.877 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5238, allocations: 3.984 kB / 0.877 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5239, allocations: 0 / 0.877 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.5239, allocations: 0 / 0.877 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5239, allocations: 2.5 kB / 0.877 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.5239, allocations: 15.91 kB / 0.877 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.524, allocations: 8 kB / 0.877 GB, free: 8.844 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 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 8.599e-05/0.5241, allocations: 142.7 kB / 0.8772 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.5241, allocations: 7.906 kB / 0.8772 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.5241, allocations: 7.984 kB / 0.8772 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5241, allocations: 7.938 kB / 0.8772 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5241, allocations: 0 / 0.8772 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5242, allocations: 0 / 0.8772 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.5243, allocations: 173.6 kB / 0.8773 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5243, allocations: 0 / 0.8773 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.5243, allocations: 4 kB / 0.8774 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5243, allocations: 0 / 0.8774 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5243, allocations: 0 / 0.8774 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.5243, allocations: 7.953 kB / 0.8774 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5243, allocations: 3.984 kB / 0.8774 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.5246, allocations: 218.6 kB / 0.8776 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.5246, allocations: 85.02 kB / 0.8777 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.5246, allocations: 0 / 0.8777 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.5247, allocations: 12.02 kB / 0.8777 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.5248, allocations: 11.95 kB / 0.8777 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5248, allocations: 4 kB / 0.8777 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.5248, allocations: 112.7 kB / 0.8778 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5248, allocations: 0 / 0.8778 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002942/0.5251, allocations: 75.88 kB / 0.8779 GB, free: 7.883 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 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0002869/0.5254, allocations: 167 kB / 0.878 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.5258, allocations: 370.7 kB / 0.8784 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5258, allocations: 0 / 0.8784 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.526, allocations: 131.4 kB / 0.8785 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.5261, allocations: 8 kB / 0.8785 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.5264, allocations: 153.7 kB / 0.8787 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5267, allocations: 0.6926 MB / 0.8793 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.221e-06/0.5267, allocations: 4 kB / 0.8793 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.5267, allocations: 7.438 kB / 0.8793 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.5267, allocations: 4.062 kB / 0.8793 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of Templates: time 0.004333/0.531, allocations: 1.862 MB / 0.8812 GB, free: 4.414 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)