Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001412/0.001412, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8543/0.8543, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3886, allocations: 80.91 MB / 0.585 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002872/0.3915, allocations: 2.116 MB / 0.5871 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.393, allocations: 1.028 MB / 0.5881 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3931, allocations: 2.469 kB / 0.5881 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.973e-05/0.3932, allocations: 23.67 kB / 0.5881 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.3935, allocations: 81.06 kB / 0.5882 GB, free: 22.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3938, allocations: 187.8 kB / 0.5884 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.3941, allocations: 300.6 kB / 0.5887 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3943, allocations: 58.78 kB / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3944, allocations: 108.8 kB / 0.5888 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3946, allocations: 147.4 kB / 0.589 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.3946, allocations: 18.59 kB / 0.589 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.395, allocations: 297.9 kB / 0.5893 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.3951, allocations: 50.66 kB / 0.5893 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.893e-05/0.3952, allocations: 116.6 kB / 0.5894 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.3955, allocations: 328.5 kB / 0.5897 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3955, allocations: 0 / 0.5897 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3955, allocations: 1.344 kB / 0.5897 GB, free: 21.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3955, allocations: 0 / 0.5897 GB, free: 21.6 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009623/0.3965, allocations: 0.6227 MB / 0.5903 GB, free: 21.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3966, allocations: 10.98 kB / 0.5903 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.3968, allocations: 41.42 kB / 0.5904 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.397, allocations: 284.3 kB / 0.5907 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.397, allocations: 12.66 kB / 0.5907 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.3971, allocations: 17.16 kB / 0.5907 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.3975, allocations: 227.2 kB / 0.5909 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3976, allocations: 4.969 kB / 0.5909 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3976, allocations: 4 kB / 0.5909 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3976, allocations: 4.688 kB / 0.5909 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.3982, allocations: 202.3 kB / 0.5911 GB, free: 20.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.3991, allocations: 0.9295 MB / 0.592 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.3997, allocations: 240.9 kB / 0.5922 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.4001, allocations: 113.2 kB / 0.5924 GB, free: 18.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4001, allocations: 7.938 kB / 0.5924 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.4001, allocations: 34.5 kB / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.4001, allocations: 1.219 kB / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001083/0.4012, allocations: 344.7 kB / 0.5927 GB, free: 18.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.4013, allocations: 77.89 kB / 0.5928 GB, free: 18.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4014, allocations: 263.8 kB / 0.5931 GB, free: 18.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4015, allocations: 25.7 kB / 0.5931 GB, free: 18.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.4015, allocations: 165.2 kB / 0.5932 GB, free: 17.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.4016, allocations: 55.19 kB / 0.5933 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.4016, allocations: 42.48 kB / 0.5933 GB, free: 17.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.332e-05/0.4017, allocations: 335.4 kB / 0.5936 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.402, allocations: 93.53 kB / 0.5937 GB, free: 17.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.4023, allocations: 138 kB / 0.5939 GB, free: 17.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.4029, allocations: 243.7 kB / 0.5941 GB, free: 17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4029, allocations: 7.938 kB / 0.5941 GB, free: 16.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007368/0.4037, allocations: 288.2 kB / 0.5944 GB, free: 16.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4037, allocations: 9.844 kB / 0.5944 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4037, allocations: 0 / 0.5944 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4037, allocations: 4 kB / 0.5944 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.404, allocations: 69.34 kB / 0.5945 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.404, allocations: 0 / 0.5945 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.4042, allocations: 38.12 kB / 0.5945 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.4043, allocations: 8 kB / 0.5945 GB, free: 16.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 9.664e-05/0.4044, allocations: 141.7 kB / 0.5946 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4045, allocations: 27.7 kB / 0.5947 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007685/0.4052, allocations: 291.7 kB / 0.5949 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4053, allocations: 0 / 0.5949 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.4053, allocations: 4 kB / 0.5949 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4053, allocations: 5.141 kB / 0.595 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.4056, allocations: 297.3 kB / 0.5952 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4056, allocations: 0 / 0.5952 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.4059, allocations: 57.2 kB / 0.5953 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4059, allocations: 0 / 0.5953 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4059, allocations: 0.8125 kB / 0.5953 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4059, allocations: 5.438 kB / 0.5953 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4059, allocations: 0 / 0.5953 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.4067, allocations: 453.7 kB / 0.5957 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.4068, allocations: 108.7 kB / 0.5958 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.4068, allocations: 5.781 kB / 0.5958 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4071, allocations: 27.95 kB / 0.5959 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.4072, allocations: 16.89 kB / 0.5959 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4072, allocations: 8 kB / 0.5959 GB, free: 15.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.4073, allocations: 188.3 kB / 0.5961 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4073, allocations: 0 / 0.5961 GB, free: 14.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.4077, allocations: 72.08 kB / 0.5961 GB, free: 14.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001899/0.4079, allocations: 107.2 kB / 0.5962 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.4087, allocations: 242.4 kB / 0.5965 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4087, allocations: 0 / 0.5965 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.409, allocations: 121.9 kB / 0.5966 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.4096, allocations: 80.39 kB / 0.5967 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.4103, allocations: 475.4 kB / 0.5971 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4105, allocations: 0.7587 MB / 0.5979 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.4105, allocations: 23.44 kB / 0.5979 GB, free: 13 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4106, allocations: 0 / 0.5979 GB, free: 13 MB / 446.1 MB Notification: Performance of Templates: time 0.004598/0.4152, allocations: 3.452 MB / 0.6013 GB, free: 9.59 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)