Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009969, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001263/0.001263, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 287 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 16.69 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.4508/0.5848, allocations: 195.2 MB / 0.8751 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009461/0.5943, allocations: 6.615 MB / 0.8815 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.5955, allocations: 35.28 kB / 0.8816 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.5971, allocations: 0.494 MB / 0.882 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.6016, allocations: 1.804 MB / 0.8838 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.6039, allocations: 0.9073 MB / 0.8847 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.6074, allocations: 3.207 MB / 0.8878 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.6089, allocations: 0.7933 MB / 0.8886 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.6123, allocations: 1.517 MB / 0.8901 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.6139, allocations: 0.8754 MB / 0.8909 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.6141, allocations: 48 kB / 0.891 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.6173, allocations: 1.528 MB / 0.8925 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.6177, allocations: 350.7 kB / 0.8928 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.6182, allocations: 273.1 kB / 0.8931 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.6203, allocations: 1.715 MB / 0.8947 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6203, allocations: 0 / 0.8947 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6203, allocations: 0 / 0.8947 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.403e-05/0.6203, allocations: 0 / 0.8947 GB, free: 9.012 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003954/0.6243, allocations: 1.619 MB / 0.8963 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.6243, allocations: 8.031 kB / 0.8963 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.6273, allocations: 0.58 MB / 0.8969 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.629, allocations: 0.9278 MB / 0.8978 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005553/0.6296, allocations: 197.9 kB / 0.898 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.6297, allocations: 84 kB / 0.8981 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.6324, allocations: 1.268 MB / 0.8993 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.6324, allocations: 0 / 0.8993 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6325, allocations: 32 kB / 0.8993 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/0.6326, allocations: 41.98 kB / 0.8994 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.6361, allocations: 1.616 MB / 0.901 GB, free: 2.535 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.6421, allocations: 4.084 MB / 0.905 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.6444, allocations: 1.045 MB / 0.906 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.6459, allocations: 0.6995 MB / 0.9067 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.647, allocations: 0.6399 MB / 0.9073 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.647, allocations: 40.09 kB / 0.9073 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.174e-06/0.647, allocations: 4 kB / 0.9073 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004571/0.6516, allocations: 1.914 MB / 0.9092 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.6516, allocations: 60.06 kB / 0.9092 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000981/0.6526, allocations: 0.8154 MB / 0.91 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.6527, allocations: 41.7 kB / 0.9101 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.6531, allocations: 444.5 kB / 0.9105 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6533, allocations: 256.2 kB / 0.9108 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.6533, allocations: 16 kB / 0.9108 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6535, allocations: 334 kB / 0.9111 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.6548, allocations: 0.5563 MB / 0.9116 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.6563, allocations: 0.6863 MB / 0.9123 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.6577, allocations: 0.6138 MB / 0.9129 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6577, allocations: 0 / 0.9129 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003137/0.6608, allocations: 1.407 MB / 0.9143 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/0.6609, allocations: 150.4 kB / 0.9144 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6609, allocations: 4 kB / 0.9144 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.661, allocations: 7.953 kB / 0.9144 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.6625, allocations: 267.7 kB / 0.9147 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007375/0.6632, allocations: 1.195 MB / 0.9159 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6643, allocations: 195.5 kB / 0.916 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.6644, allocations: 39.97 kB / 0.9161 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.6644, allocations: 7.953 kB / 0.9161 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002982/0.6674, allocations: 1.294 MB / 0.9173 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.6674, allocations: 64 / 0.9173 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.6675, allocations: 8 kB / 0.9174 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.6686, allocations: 247.7 kB / 0.9176 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.6686, allocations: 7.984 kB / 0.9176 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.6697, allocations: 195.1 kB / 0.9178 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/0.6698, allocations: 39.97 kB / 0.9178 GB, free: 0.6641 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005265/0.6703, allocations: 368.9 kB / 0.9182 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.6705, allocations: 106.7 kB / 0.9183 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.6739, allocations: 1.441 MB / 0.9197 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.6739, allocations: 8 kB / 0.9197 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6739, allocations: 0 / 0.9197 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6739, allocations: 3.984 kB / 0.9197 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/0.6793, allocations: 2.929 MB / 0.9226 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.6793, allocations: 4 kB / 0.9226 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.6805, allocations: 251.7 kB / 0.9228 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.6805, allocations: 8 kB / 0.9228 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.6806, allocations: 27.98 kB / 0.9228 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006147/0.6812, allocations: 1.188 MB / 0.924 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.6812, allocations: 12 kB / 0.924 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.6844, allocations: 1.533 MB / 0.9255 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.6849, allocations: 311.5 kB / 0.9258 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.685, allocations: 20 kB / 0.9258 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6862, allocations: 167.7 kB / 0.926 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6863, allocations: 60.39 kB / 0.926 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.6864, allocations: 35.97 kB / 0.9261 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007298/0.6872, allocations: 0.5622 MB / 0.9266 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6872, allocations: 4 kB / 0.9266 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001302/0.6885, allocations: 0.5263 MB / 0.9271 GB, free: 6.867 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005651/0.689, allocations: 270.4 kB / 0.9274 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004997/0.6941, allocations: 2.135 MB / 0.9295 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6941, allocations: 0 / 0.9295 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.6957, allocations: 0.7066 MB / 0.9302 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.6981, allocations: 0.5226 MB / 0.9307 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.7024, allocations: 2.481 MB / 0.9331 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.7031, allocations: 1.091 MB / 0.9342 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001639/0.7047, allocations: 391.5 kB / 0.9345 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.7051, allocations: 87.41 kB / 0.9346 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.7051, allocations: 0 / 0.9346 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.03195/0.737, allocations: 19.66 MB / 0.9538 GB, free: 11.73 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)