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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004338/0.004338, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001012/0.001012, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 287.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9038/0.9038, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 103.8 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4056, allocations: 86.97 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001515/0.4072, allocations: 0.6093 MB / 0.767 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.409, allocations: 1.384 MB / 0.7684 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.409, allocations: 0 / 0.7684 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.444e-05/0.4091, allocations: 7.984 kB / 0.7684 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.4091, allocations: 3.938 kB / 0.7684 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.4098, allocations: 175.6 kB / 0.7686 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.41, allocations: 51.95 kB / 0.7686 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.41, allocations: 0 / 0.7686 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.4101, allocations: 27.86 kB / 0.7686 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.4102, allocations: 23.91 kB / 0.7687 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4102, allocations: 4 kB / 0.7687 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.4105, allocations: 207.7 kB / 0.7689 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.4106, allocations: 8 kB / 0.7689 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.4106, allocations: 27.8 kB / 0.7689 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.4109, allocations: 195.2 kB / 0.7691 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4109, allocations: 0 / 0.7691 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4109, allocations: 0 / 0.7691 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.4109, allocations: 0 / 0.7691 GB, free: 1.203 MB / 0.5294 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.0004072/0.4113, allocations: 437.2 kB / 0.7695 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4113, allocations: 12.03 kB / 0.7695 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.4114, allocations: 4.844 kB / 0.7695 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4115, allocations: 176.2 kB / 0.7697 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4115, allocations: 4.375 kB / 0.7697 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4115, allocations: 8.375 kB / 0.7697 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4117, allocations: 103.7 kB / 0.7698 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4117, allocations: 8 kB / 0.7698 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4118, allocations: 0 / 0.7698 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4118, allocations: 0 / 0.7698 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/0.4118, allocations: 63.89 kB / 0.7699 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.412, allocations: 169.7 kB / 0.77 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.4121, allocations: 74.53 kB / 0.7701 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.4122, allocations: 80.88 kB / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.4122, allocations: 0 / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.4123, allocations: 34.5 kB / 0.7702 GB, free: 15.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4123, allocations: 0 / 0.7702 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003728/0.4126, allocations: 255.1 kB / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4127, allocations: 81.11 kB / 0.7705 GB, free: 15.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4128, allocations: 144.2 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4129, allocations: 29.7 kB / 0.7707 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.4129, allocations: 96.11 kB / 0.7708 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.4129, allocations: 19.73 kB / 0.7708 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.413, allocations: 25.72 kB / 0.7708 GB, free: 15.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4131, allocations: 322.8 kB / 0.7711 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4132, allocations: 99.94 kB / 0.7712 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.4133, allocations: 103.9 kB / 0.7713 GB, free: 14.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.4136, allocations: 269.9 kB / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4136, allocations: 3.984 kB / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003239/0.4139, allocations: 332.7 kB / 0.7719 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.414, allocations: 71.39 kB / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.414, allocations: 0 / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.414, allocations: 3.938 kB / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.414, allocations: 144 / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.414, allocations: 0 / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.4142, allocations: 7.984 kB / 0.772 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4142, allocations: 4 kB / 0.772 GB, free: 13.94 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.4143, allocations: 153.9 kB / 0.7721 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.4143, allocations: 19.86 kB / 0.7722 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.4143, allocations: 8.25 kB / 0.7722 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4143, allocations: 0 / 0.7722 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4144, allocations: 0 / 0.7722 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4144, allocations: 0 / 0.7722 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.4145, allocations: 177.6 kB / 0.7723 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4145, allocations: 0 / 0.7723 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-06/0.4145, allocations: 3.938 kB / 0.7723 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4145, allocations: 0 / 0.7723 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4145, allocations: 4 kB / 0.7723 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4145, allocations: 0 / 0.7723 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4145, allocations: 7.984 kB / 0.7723 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.4148, allocations: 226.6 kB / 0.7726 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.4148, allocations: 88.94 kB / 0.7726 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4149, allocations: 4 kB / 0.7726 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.4149, allocations: 4 kB / 0.7727 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.415, allocations: 11.98 kB / 0.7727 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.415, allocations: 4 kB / 0.7727 GB, free: 13.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.415, allocations: 106.4 kB / 0.7728 GB, free: 13.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4151, allocations: 3.938 kB / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002693/0.4153, allocations: 67.98 kB / 0.7728 GB, free: 12.96 MB / 0.545 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 (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.0002625/0.4156, allocations: 155.2 kB / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.416, allocations: 370.6 kB / 0.7733 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.416, allocations: 0 / 0.7733 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.4162, allocations: 135.3 kB / 0.7735 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.4163, allocations: 14.88 kB / 0.7735 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.4168, allocations: 209.5 kB / 0.7737 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4171, allocations: 0.6924 MB / 0.7744 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.396e-06/0.4172, allocations: 0 / 0.7744 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.4172, allocations: 7.438 kB / 0.7744 GB, free: 11.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4172, allocations: 0 / 0.7744 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Templates: time 0.004797/0.422, allocations: 2.052 MB / 0.7764 GB, free: 9.25 MB / 0.545 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)