Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7915/0.7915, allocations: 143.4 MB / 159.2 MB, free: 4.824 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.001176/0.001176, allocations: 189.9 kB / 191.9 MB, free: 5.707 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.478/1.478, allocations: 222.9 MB / 447.4 MB, free: 5.867 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.000967/0.000967, allocations: 99.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001861, allocations: 275.2 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 83.89 kB / 0.6886 GB, free: 3.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.361, allocations: 81.3 MB / 0.768 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001725/0.3628, allocations: 0.6951 MB / 0.7686 GB, free: 26.94 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003484/0.3632, allocations: 201.2 kB / 0.7688 GB, free: 26.75 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.3632, allocations: 0 / 0.7688 GB, free: 26.75 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.3632, allocations: 3.938 kB / 0.7688 GB, free: 26.74 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.3634, allocations: 11.94 kB / 0.7688 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.3635, allocations: 59.83 kB / 0.7689 GB, free: 26.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.3636, allocations: 27.97 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.3636, allocations: 4 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.3637, allocations: 19.92 kB / 0.7689 GB, free: 26.62 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.3637, allocations: 15.92 kB / 0.769 GB, free: 26.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3638, allocations: 7.938 kB / 0.769 GB, free: 26.6 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3639, allocations: 107.8 kB / 0.7691 GB, free: 26.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3639, allocations: 11.86 kB / 0.7691 GB, free: 26.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.3639, allocations: 19.92 kB / 0.7691 GB, free: 26.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3641, allocations: 99.81 kB / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3641, allocations: 0 / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3641, allocations: 0 / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.3641, allocations: 4 kB / 0.7692 GB, free: 26.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000413/0.3645, allocations: 362.2 kB / 0.7695 GB, free: 25.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3645, allocations: 12.03 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.3646, allocations: 4.844 kB / 0.7696 GB, free: 25.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.3647, allocations: 184.2 kB / 0.7697 GB, free: 25.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3647, allocations: 4.375 kB / 0.7697 GB, free: 25.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3647, allocations: 4.375 kB / 0.7697 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3649, allocations: 58.23 kB / 0.7698 GB, free: 25.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3649, allocations: 8.031 kB / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3649, allocations: 3.938 kB / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3649, allocations: 0 / 0.7698 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.365, allocations: 31.97 kB / 0.7698 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.3652, allocations: 253 kB / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3654, allocations: 74.41 kB / 0.7702 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.3655, allocations: 24.94 kB / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3655, allocations: 0 / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.075e-05/0.3655, allocations: 30.56 kB / 0.7702 GB, free: 25.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3655, allocations: 0 / 0.7702 GB, free: 25.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.02715/0.3927, allocations: 1.616 MB / 0.7718 GB, free: 23.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3927, allocations: 55.41 kB / 0.7718 GB, free: 23.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.3928, allocations: 117.7 kB / 0.772 GB, free: 23.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3929, allocations: 29.7 kB / 0.772 GB, free: 23.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3929, allocations: 92.12 kB / 0.7721 GB, free: 23.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.393, allocations: 27.56 kB / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.3932, allocations: 25.7 kB / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.3933, allocations: 318.8 kB / 0.7724 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.3937, allocations: 139.9 kB / 0.7726 GB, free: 22.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.3942, allocations: 143.9 kB / 0.7727 GB, free: 22.56 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.395, allocations: 296.8 kB / 0.773 GB, free: 22.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3951, allocations: 0 / 0.773 GB, free: 22.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001073/0.3961, allocations: 337.5 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3962, allocations: 4 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3962, allocations: 0 / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3962, allocations: 0 / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.3978, allocations: 63.88 kB / 0.7734 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3978, allocations: 0 / 0.7734 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.3992, allocations: 51.94 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.3992, allocations: 4 kB / 0.7734 GB, free: 21.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001442/0.3994, allocations: 118.6 kB / 0.7735 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/0.3995, allocations: 8.562 kB / 0.7735 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.3997, allocations: 20.36 kB / 0.7736 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3997, allocations: 4 kB / 0.7736 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3997, allocations: 4 kB / 0.7736 GB, free: 21.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3997, allocations: 3.938 kB / 0.7736 GB, free: 21.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.4053, allocations: 0.8456 MB / 0.7744 GB, free: 20.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4053, allocations: 0 / 0.7744 GB, free: 20.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4064, allocations: 59.81 kB / 0.7745 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4064, allocations: 4 kB / 0.7745 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.4065, allocations: 4.062 kB / 0.7745 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4065, allocations: 3.938 kB / 0.7745 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4065, allocations: 7.984 kB / 0.7745 GB, free: 20.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4079, allocations: 1.03 MB / 0.7755 GB, free: 19.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.4079, allocations: 77.11 kB / 0.7755 GB, free: 19.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.408, allocations: 4 kB / 0.7756 GB, free: 19.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.409, allocations: 39.95 kB / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.409, allocations: 11.98 kB / 0.7756 GB, free: 19.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.4091, allocations: 4 kB / 0.7756 GB, free: 19.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.4091, allocations: 91.27 kB / 0.7757 GB, free: 19.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4091, allocations: 0 / 0.7757 GB, free: 19.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.4096, allocations: 96 kB / 0.7758 GB, free: 19.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001772/0.4098, allocations: 123.2 kB / 0.7759 GB, free: 19.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008652/0.4106, allocations: 243.9 kB / 0.7761 GB, free: 18.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4106, allocations: 0 / 0.7761 GB, free: 18.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.411, allocations: 95.88 kB / 0.7762 GB, free: 18.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4113, allocations: 9.625 kB / 0.7762 GB, free: 18.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.4141, allocations: 444 kB / 0.7767 GB, free: 18.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.4142, allocations: 0.6965 MB / 0.7773 GB, free: 17.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.4147, allocations: 48 kB / 0.7774 GB, free: 17.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.4151, allocations: 15.42 kB / 0.7774 GB, free: 17.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4151, allocations: 0 / 0.7774 GB, free: 17.5 MB / 458.7 MB Notification: Performance of Templates: time 0.008541/0.4237, allocations: 8.738 MB / 0.7859 GB, free: 8.711 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)