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.7785/0.7785, allocations: 143.4 MB / 159.2 MB, free: 4.906 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.001326/0.001326, allocations: 183 kB / 191.9 MB, free: 5.738 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.435/1.435, allocations: 222.9 MB / 447.3 MB, free: 5.859 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.001054/0.001054, allocations: 111 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 290.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 75.89 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3509, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001725/0.3527, allocations: 0.668 MB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3545, allocations: 1.414 MB / 0.77 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.3545, allocations: 4 kB / 0.77 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.278e-05/0.3546, allocations: 7.922 kB / 0.77 GB, free: 25.58 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.3547, allocations: 0 / 0.77 GB, free: 25.58 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.3553, allocations: 139.7 kB / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.3554, allocations: 39.95 kB / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.3554, allocations: 7.969 kB / 0.7701 GB, free: 25.39 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.3555, allocations: 23.92 kB / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.3555, allocations: 23.97 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3555, allocations: 7.938 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.3558, allocations: 187.8 kB / 0.7704 GB, free: 25.16 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.3559, allocations: 15.97 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.3559, allocations: 27.8 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3562, allocations: 186.3 kB / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3562, allocations: 0 / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3562, allocations: 0 / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3562, allocations: 0 / 0.7706 GB, free: 24.93 MB / 458.7 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.0004175/0.3567, allocations: 442.6 kB / 0.771 GB, free: 24.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3567, allocations: 8.031 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.3568, allocations: 8.844 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.3569, allocations: 168.3 kB / 0.7712 GB, free: 24.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3569, allocations: 8.375 kB / 0.7712 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3569, allocations: 384 / 0.7712 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3571, allocations: 102 kB / 0.7713 GB, free: 24.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.3571, allocations: 0 / 0.7713 GB, free: 24.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3571, allocations: 4 kB / 0.7713 GB, free: 24.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3571, allocations: 4 kB / 0.7713 GB, free: 24.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.3572, allocations: 67.88 kB / 0.7714 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.3573, allocations: 169.6 kB / 0.7715 GB, free: 23.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.3574, allocations: 82.53 kB / 0.7716 GB, free: 23.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.3575, allocations: 68.89 kB / 0.7717 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.3575, allocations: 4 kB / 0.7717 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3575, allocations: 38.48 kB / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3575, allocations: 0 / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003069/0.3579, allocations: 255.1 kB / 0.772 GB, free: 23.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3579, allocations: 77.11 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.358, allocations: 151.3 kB / 0.7722 GB, free: 23.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.358, allocations: 29.7 kB / 0.7722 GB, free: 23.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.358, allocations: 84.14 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3581, allocations: 27.72 kB / 0.7723 GB, free: 22.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.3581, allocations: 25.72 kB / 0.7723 GB, free: 22.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.3582, allocations: 318.8 kB / 0.7726 GB, free: 22.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.3583, allocations: 99.94 kB / 0.7727 GB, free: 22.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.3584, allocations: 103.9 kB / 0.7728 GB, free: 22.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3586, allocations: 281.8 kB / 0.7731 GB, free: 22.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3586, allocations: 4 kB / 0.7731 GB, free: 22.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002417/0.3588, allocations: 324.9 kB / 0.7734 GB, free: 21.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.3589, allocations: 72.8 kB / 0.7735 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3589, allocations: 0 / 0.7735 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3589, allocations: 7.938 kB / 0.7735 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3589, allocations: 0 / 0.7735 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3589, allocations: 0 / 0.7735 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.359, allocations: 7.906 kB / 0.7735 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3591, allocations: 7.984 kB / 0.7735 GB, free: 21.66 MB / 458.7 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 (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 7.164e-05/0.3591, allocations: 153.4 kB / 0.7737 GB, free: 21.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3592, allocations: 11.84 kB / 0.7737 GB, free: 21.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.3592, allocations: 8.25 kB / 0.7737 GB, free: 21.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3592, allocations: 0 / 0.7737 GB, free: 21.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3592, allocations: 4 kB / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3592, allocations: 0 / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.3593, allocations: 165.6 kB / 0.7738 GB, free: 21.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3593, allocations: 4 kB / 0.7738 GB, free: 21.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-06/0.3593, allocations: 3.938 kB / 0.7739 GB, free: 21.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3593, allocations: 0 / 0.7739 GB, free: 21.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3593, allocations: 8 kB / 0.7739 GB, free: 21.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3593, allocations: 0 / 0.7739 GB, free: 21.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3593, allocations: 7.938 kB / 0.7739 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.3597, allocations: 0.8793 MB / 0.7747 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.3598, allocations: 88.95 kB / 0.7748 GB, free: 20.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3598, allocations: 0 / 0.7748 GB, free: 20.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.3598, allocations: 8.031 kB / 0.7748 GB, free: 20.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.3599, allocations: 11.98 kB / 0.7748 GB, free: 20.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3599, allocations: 0 / 0.7748 GB, free: 20.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.3599, allocations: 112.7 kB / 0.7749 GB, free: 20.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.36, allocations: 0 / 0.7749 GB, free: 20.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.3603, allocations: 63.94 kB / 0.775 GB, free: 19.99 MB / 458.7 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 (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.0002293/0.3605, allocations: 156.6 kB / 0.7751 GB, free: 19.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.3608, allocations: 370.7 kB / 0.7755 GB, free: 19.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3609, allocations: 0 / 0.7755 GB, free: 19.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.361, allocations: 139.3 kB / 0.7756 GB, free: 19.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.3611, allocations: 7.938 kB / 0.7756 GB, free: 19.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.3614, allocations: 327.8 kB / 0.776 GB, free: 18.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.3616, allocations: 0.6967 MB / 0.7766 GB, free: 18.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.284e-06/0.3616, allocations: 0 / 0.7766 GB, free: 18.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-06/0.3616, allocations: 11.44 kB / 0.7766 GB, free: 18.19 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3616, allocations: 3.938 kB / 0.7766 GB, free: 18.18 MB / 458.7 MB Notification: Performance of Templates: time 0.003546/0.3652, allocations: 1.976 MB / 0.7786 GB, free: 16.21 MB / 458.7 MB 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)