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.8796/0.8796, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001212/0.001212, allocations: 177 kB / 191.5 MB, free: 5.746 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.468/1.468, allocations: 223.2 MB / 447.7 MB, free: 4.785 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.0008735/0.0008735, allocations: 92.31 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 268.1 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004561, allocations: 12.97 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1694, allocations: 82.79 MB / 0.7737 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.3252, allocations: 109.5 MB / 0.8806 GB, free: 188 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.3255, allocations: 81.98 kB / 0.8807 GB, free: 108 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3678/0.6933, allocations: 3.224 MB / 0.8839 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6933, allocations: 0.75 kB / 0.8839 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6934, allocations: 0 / 0.8839 GB, free: 109.2 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.0003686/0.6937, allocations: 447 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.6938, allocations: 9.938 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.6938, allocations: 2.969 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.6939, allocations: 182.1 kB / 0.8845 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.694, allocations: 6.922 kB / 0.8845 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.694, allocations: 2.938 kB / 0.8845 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.6942, allocations: 96.39 kB / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.6942, allocations: 0 / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6942, allocations: 2.531 kB / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6942, allocations: 0 / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.6943, allocations: 59 kB / 0.8846 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.6944, allocations: 172.9 kB / 0.8848 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.6946, allocations: 90.78 kB / 0.8849 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.6946, allocations: 3.953 kB / 0.8849 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.6946, allocations: 32.09 kB / 0.8849 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.6946, allocations: 2.938 kB / 0.8849 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004153/0.695, allocations: 330 kB / 0.8852 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.6951, allocations: 78.47 kB / 0.8853 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.6952, allocations: 133.8 kB / 0.8854 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.6952, allocations: 32.48 kB / 0.8855 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.6952, allocations: 90.08 kB / 0.8856 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.6953, allocations: 17.56 kB / 0.8856 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.6953, allocations: 3.938 kB / 0.8856 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.6953, allocations: 320.1 kB / 0.8859 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.6955, allocations: 96.36 kB / 0.886 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.6956, allocations: 101.6 kB / 0.8861 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.6957, allocations: 159.3 kB / 0.8862 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6957, allocations: 0 / 0.8862 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000324/0.6961, allocations: 314.8 kB / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.6961, allocations: 77.66 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6961, allocations: 0 / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6962, allocations: 0.5625 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.6962, allocations: 0 / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6962, allocations: 0 / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.6962, allocations: 14.36 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.6963, allocations: 7.453 kB / 0.8866 GB, free: 107.2 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 () * Number of clocked 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.467e-05/0.6964, allocations: 148.6 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.6964, allocations: 10.52 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.6964, allocations: 15.78 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6964, allocations: 3.938 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6964, allocations: 2.938 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6964, allocations: 0.5156 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.941e-05/0.6965, allocations: 174.4 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6965, allocations: 3.031 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.6966, allocations: 0.6094 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.6966, allocations: 0 / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.6966, allocations: 2.969 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6966, allocations: 8.516 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6966, allocations: 0 / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.6968, allocations: 224.9 kB / 0.8872 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.6969, allocations: 84.19 kB / 0.8873 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.6969, allocations: 0.5156 kB / 0.8873 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.697, allocations: 6.453 kB / 0.8873 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.697, allocations: 14.12 kB / 0.8873 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.697, allocations: 11.14 kB / 0.8873 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.6971, allocations: 109.1 kB / 0.8874 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.61e-07/0.6971, allocations: 0 / 0.8874 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003327/0.6974, allocations: 78.8 kB / 0.8875 GB, free: 106.5 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) * Number of clocked states: 0 () * 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.0002603/0.6977, allocations: 163.5 kB / 0.8876 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.6981, allocations: 363.8 kB / 0.888 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6981, allocations: 0 / 0.888 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.6983, allocations: 142.2 kB / 0.8881 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.6984, allocations: 3.469 kB / 0.8881 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.6987, allocations: 204.3 kB / 0.8883 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.6989, allocations: 0.6984 MB / 0.889 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.061e-06/0.6989, allocations: 0 / 0.889 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-06/0.6989, allocations: 7.438 kB / 0.889 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6989, allocations: 5.375 kB / 0.889 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.004717/0.7036, allocations: 1.834 MB / 0.8908 GB, free: 105.2 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)