Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001117, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001157/0.001157, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.5068 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3215, allocations: 80.91 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00278/0.3243, allocations: 1.568 MB / 0.5873 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3255, allocations: 0.9094 MB / 0.5882 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.3256, allocations: 7.406 kB / 0.5882 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.3257, allocations: 3.938 kB / 0.5882 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.3258, allocations: 23.78 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3262, allocations: 137.2 kB / 0.5884 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3263, allocations: 75.16 kB / 0.5884 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3264, allocations: 10.77 kB / 0.5884 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.3265, allocations: 38.56 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3266, allocations: 37.38 kB / 0.5885 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3267, allocations: 4.625 kB / 0.5885 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.327, allocations: 282.3 kB / 0.5888 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.3271, allocations: 14.52 kB / 0.5888 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.3271, allocations: 32 kB / 0.5888 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3274, allocations: 151 kB / 0.589 GB, free: 23.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3274, allocations: 1.25 kB / 0.589 GB, free: 23.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3274, allocations: 0 / 0.589 GB, free: 23.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3274, allocations: 0 / 0.589 GB, free: 23.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005619/0.328, allocations: 410.7 kB / 0.5894 GB, free: 22.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.328, allocations: 10.86 kB / 0.5894 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.3281, allocations: 12.62 kB / 0.5894 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3283, allocations: 191.4 kB / 0.5896 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.3284, allocations: 2.875 kB / 0.5896 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3284, allocations: 10.89 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3286, allocations: 62.97 kB / 0.5896 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3286, allocations: 0 / 0.5896 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3286, allocations: 5.844 kB / 0.5896 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3286, allocations: 0.6562 kB / 0.5896 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3288, allocations: 42.88 kB / 0.5897 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3292, allocations: 308.6 kB / 0.59 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3293, allocations: 49.41 kB / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.3294, allocations: 35.11 kB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3294, allocations: 3.562 kB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3295, allocations: 34.5 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3295, allocations: 0 / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003415/0.3298, allocations: 110.4 kB / 0.5902 GB, free: 21.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3299, allocations: 52.31 kB / 0.5903 GB, free: 21.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.3299, allocations: 131.9 kB / 0.5904 GB, free: 21.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.33, allocations: 26.36 kB / 0.5904 GB, free: 21.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.33, allocations: 96.75 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.33, allocations: 20.31 kB / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.3301, allocations: 25.7 kB / 0.5905 GB, free: 21.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.3301, allocations: 320 kB / 0.5908 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.3302, allocations: 20.64 kB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.3303, allocations: 25.81 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3304, allocations: 52.84 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3304, allocations: 0 / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001777/0.3306, allocations: 90.88 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3306, allocations: 8 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3306, allocations: 0 / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3307, allocations: 0.5938 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3308, allocations: 16.48 kB / 0.5911 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3308, allocations: 0.5938 kB / 0.5911 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.3308, allocations: 14.42 kB / 0.5911 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3309, allocations: 7.922 kB / 0.5911 GB, free: 20.92 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.386e-05/0.3309, allocations: 117.8 kB / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.331, allocations: 7.906 kB / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3312, allocations: 104.2 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3312, allocations: 4 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3312, allocations: 0 / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3312, allocations: 4 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.3313, allocations: 182.9 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3314, allocations: 0 / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.3314, allocations: 15.98 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3314, allocations: 1.719 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3315, allocations: 0 / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3315, allocations: 0 / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3315, allocations: 0 / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.3317, allocations: 197 kB / 0.5917 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.3317, allocations: 81.02 kB / 0.5918 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3317, allocations: 0.7812 kB / 0.5918 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.3318, allocations: 8.734 kB / 0.5918 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3318, allocations: 8 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3319, allocations: 4.953 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.708e-05/0.3319, allocations: 101.5 kB / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3319, allocations: 4.719 kB / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3321, allocations: 31.94 kB / 0.5919 GB, free: 19.98 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 (6): * Single equations (assignments): 6 * 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.0001391/0.3323, allocations: 110.8 kB / 0.592 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3325, allocations: 63.89 kB / 0.5921 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3325, allocations: 1.625 kB / 0.5921 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.3326, allocations: 23.98 kB / 0.5921 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3328, allocations: 18.48 kB / 0.5921 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.3331, allocations: 180.3 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3333, allocations: 0.6983 MB / 0.593 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.3333, allocations: 8.297 kB / 0.593 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3333, allocations: 11.42 kB / 0.593 GB, free: 18.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3333, allocations: 1.875 kB / 0.593 GB, free: 18.81 MB / 446.1 MB Notification: Performance of Templates: time 0.003072/0.3364, allocations: 1.089 MB / 0.5941 GB, free: 17.78 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)