Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 98.91 kB / 16.35 MB, free: 5.879 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.00126/0.00126, allocations: 199.2 kB / 17.3 MB, free: 5.52 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7656/0.7656, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002568/0.311, allocations: 1.411 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3121, allocations: 0.7903 MB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.3122, allocations: 1.188 kB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.744e-05/0.3122, allocations: 1.188 kB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.3123, allocations: 5.562 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.313, allocations: 165.8 kB / 0.5881 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3131, allocations: 57.67 kB / 0.5881 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.3132, allocations: 7.531 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.3133, allocations: 19.67 kB / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.3133, allocations: 18.92 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3133, allocations: 4.062 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.3136, allocations: 207.2 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.3137, allocations: 5.031 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.3137, allocations: 24.8 kB / 0.5884 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.314, allocations: 197.7 kB / 0.5886 GB, free: 23.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.314, allocations: 0 / 0.5886 GB, free: 23.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.314, allocations: 0.7812 kB / 0.5886 GB, free: 23.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.3141, allocations: 1.25 kB / 0.5886 GB, free: 23.42 MB / 446.1 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.0004195/0.3145, allocations: 432.7 kB / 0.589 GB, free: 22.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3145, allocations: 9.922 kB / 0.589 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.3146, allocations: 7.688 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.544e-05/0.3147, allocations: 172.2 kB / 0.5892 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3147, allocations: 2.719 kB / 0.5892 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3147, allocations: 7.031 kB / 0.5892 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3149, allocations: 75.27 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3149, allocations: 0.625 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3149, allocations: 5.391 kB / 0.5893 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3149, allocations: 0.8125 kB / 0.5893 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.315, allocations: 44.59 kB / 0.5893 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.3154, allocations: 285.6 kB / 0.5896 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3155, allocations: 53.44 kB / 0.5897 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.3156, allocations: 46.66 kB / 0.5897 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3157, allocations: 4.656 kB / 0.5897 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.3157, allocations: 31.06 kB / 0.5897 GB, free: 22.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.073e-06/0.3157, allocations: 4.734 kB / 0.5897 GB, free: 22.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004251/0.3161, allocations: 188 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.3162, allocations: 81.11 kB / 0.59 GB, free: 21.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.3163, allocations: 123.4 kB / 0.5901 GB, free: 21.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.3163, allocations: 25.7 kB / 0.5901 GB, free: 21.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.3163, allocations: 95.98 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.3163, allocations: 4.562 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3164, allocations: 26.73 kB / 0.5903 GB, free: 21.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.3164, allocations: 322.8 kB / 0.5906 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.3165, allocations: 60.48 kB / 0.5906 GB, free: 21.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.3166, allocations: 53.19 kB / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3167, allocations: 193.9 kB / 0.5909 GB, free: 21.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3168, allocations: 0.6875 kB / 0.5909 GB, free: 21.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002049/0.317, allocations: 217.8 kB / 0.5911 GB, free: 20.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.317, allocations: 67.33 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.317, allocations: 0.7812 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.317, allocations: 0 / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.3171, allocations: 4.562 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3171, allocations: 1.406 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.3172, allocations: 15.83 kB / 0.5912 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3172, allocations: 8.062 kB / 0.5912 GB, free: 20.7 MB / 446.1 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 6.749e-05/0.3172, allocations: 156.1 kB / 0.5913 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3173, allocations: 6.469 kB / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.3173, allocations: 7.906 kB / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3173, allocations: 0 / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3173, allocations: 0 / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3173, allocations: 0 / 0.5913 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3174, allocations: 177.6 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3174, allocations: 0.6562 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.3175, allocations: 0 / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3175, allocations: 4.5 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.3175, allocations: 1.219 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3175, allocations: 3.984 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3175, allocations: 0 / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3177, allocations: 254.5 kB / 0.5917 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.3177, allocations: 78.73 kB / 0.5918 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3178, allocations: 4 kB / 0.5918 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.3178, allocations: 4 kB / 0.5918 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.3179, allocations: 7.984 kB / 0.5918 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3179, allocations: 6.906 kB / 0.5918 GB, free: 19.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.522e-05/0.318, allocations: 102.5 kB / 0.5919 GB, free: 19.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.318, allocations: 0 / 0.5919 GB, free: 19.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.3183, allocations: 59.98 kB / 0.592 GB, free: 19.75 MB / 446.1 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0002294/0.3185, allocations: 151.2 kB / 0.5921 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3188, allocations: 240.4 kB / 0.5924 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3188, allocations: 0 / 0.5924 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.766e-05/0.3189, allocations: 103.4 kB / 0.5925 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.3191, allocations: 4.5 kB / 0.5925 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.3195, allocations: 170.7 kB / 0.5926 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.607e-05/0.3196, allocations: 0.6947 MB / 0.5933 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.3196, allocations: 0 / 0.5933 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.3196, allocations: 7.438 kB / 0.5933 GB, free: 18.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3196, allocations: 0 / 0.5933 GB, free: 18.29 MB / 446.1 MB Notification: Performance of Templates: time 0.003629/0.3233, allocations: 1.758 MB / 0.595 GB, free: 16.63 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)