Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108 kB / 16.37 MB, free: 6.477 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.001213/0.001213, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.267/1.267, 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.7692/0.7692, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3047, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004927/0.3097, allocations: 4.539 MB / 0.5902 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.3105, allocations: 0.8191 MB / 0.591 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.3106, allocations: 0 / 0.591 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.3107, allocations: 35.77 kB / 0.591 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.3108, allocations: 33.14 kB / 0.5911 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.3113, allocations: 170.3 kB / 0.5912 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3114, allocations: 179.4 kB / 0.5914 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.3115, allocations: 15 kB / 0.5914 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3116, allocations: 79.69 kB / 0.5915 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.3117, allocations: 79.73 kB / 0.5916 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3118, allocations: 17.69 kB / 0.5916 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.312, allocations: 151.8 kB / 0.5917 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3121, allocations: 31.91 kB / 0.5918 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.3121, allocations: 71.7 kB / 0.5918 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.3124, allocations: 237.6 kB / 0.5921 GB, free: 20.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3124, allocations: 5.281 kB / 0.5921 GB, free: 20.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3124, allocations: 0 / 0.5921 GB, free: 20.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3124, allocations: 0 / 0.5921 GB, free: 20.09 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006614/0.3131, allocations: 482 kB / 0.5925 GB, free: 19.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.3131, allocations: 13.11 kB / 0.5925 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.3132, allocations: 12.75 kB / 0.5925 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.3132, allocations: 184.1 kB / 0.5927 GB, free: 19.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3133, allocations: 9.156 kB / 0.5927 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3133, allocations: 16.59 kB / 0.5927 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3135, allocations: 123 kB / 0.5929 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3136, allocations: 0 / 0.5929 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3136, allocations: 4 kB / 0.5929 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3136, allocations: 0 / 0.5929 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.3139, allocations: 143.8 kB / 0.593 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.3147, allocations: 465.7 kB / 0.5935 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3149, allocations: 126.5 kB / 0.5936 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3151, allocations: 69.41 kB / 0.5936 GB, free: 18.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009894/0.3161, allocations: 0.9645 MB / 0.5946 GB, free: 17.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.3161, allocations: 38.44 kB / 0.5946 GB, free: 17.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3161, allocations: 4 kB / 0.5946 GB, free: 17.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005238/0.3166, allocations: 211 kB / 0.5948 GB, free: 16.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.3167, allocations: 52 kB / 0.5949 GB, free: 16.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.3168, allocations: 166.5 kB / 0.595 GB, free: 16.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3168, allocations: 29.7 kB / 0.5951 GB, free: 16.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.3168, allocations: 108.3 kB / 0.5952 GB, free: 16.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.3169, allocations: 39.44 kB / 0.5952 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.3169, allocations: 51.45 kB / 0.5952 GB, free: 16.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.317, allocations: 326.8 kB / 0.5956 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.3171, allocations: 72.62 kB / 0.5956 GB, free: 16.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.3173, allocations: 122.4 kB / 0.5957 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.3177, allocations: 169.4 kB / 0.5959 GB, free: 15.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3177, allocations: 0 / 0.5959 GB, free: 15.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004401/0.3181, allocations: 244 kB / 0.5961 GB, free: 15.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3181, allocations: 7.938 kB / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3181, allocations: 4 kB / 0.5962 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3182, allocations: 6.25 kB / 0.5962 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3184, allocations: 55.91 kB / 0.5962 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3184, allocations: 4 kB / 0.5962 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3186, allocations: 35.72 kB / 0.5962 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3186, allocations: 6.375 kB / 0.5963 GB, free: 15.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 6.231e-05/0.3186, allocations: 129.7 kB / 0.5964 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3187, allocations: 11.84 kB / 0.5964 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.3191, allocations: 176.1 kB / 0.5966 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3191, allocations: 4 kB / 0.5966 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3191, allocations: 4 kB / 0.5966 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3191, allocations: 0 / 0.5966 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3192, allocations: 214 kB / 0.5968 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3192, allocations: 1.594 kB / 0.5968 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.3194, allocations: 35.91 kB / 0.5968 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3194, allocations: 3.938 kB / 0.5968 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3194, allocations: 0 / 0.5968 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3194, allocations: 4.531 kB / 0.5968 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3194, allocations: 0.8125 kB / 0.5968 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3198, allocations: 258 kB / 0.5971 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3198, allocations: 104.8 kB / 0.5972 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3198, allocations: 0 / 0.5972 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.32, allocations: 17.05 kB / 0.5972 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.32, allocations: 10.39 kB / 0.5972 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.32, allocations: 4 kB / 0.5972 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.028e-05/0.3201, allocations: 121.8 kB / 0.5973 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3201, allocations: 0 / 0.5973 GB, free: 14.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3204, allocations: 60.11 kB / 0.5974 GB, free: 14.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001996/0.3206, allocations: 168.5 kB / 0.5975 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.321, allocations: 173.8 kB / 0.5977 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.321, allocations: 0 / 0.5977 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3211, allocations: 64.67 kB / 0.5978 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3214, allocations: 29.56 kB / 0.5978 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.3218, allocations: 239.5 kB / 0.598 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.3219, allocations: 0.7044 MB / 0.5987 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.322, allocations: 23.2 kB / 0.5987 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.322, allocations: 16.66 kB / 0.5987 GB, free: 12.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.322, allocations: 0 / 0.5987 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Templates: time 0.004508/0.3265, allocations: 2.728 MB / 0.6014 GB, free: 10.12 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)