Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007968/0.0007968, allocations: 87.11 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.0008445/0.0008446, 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.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001794, allocations: 278.8 kB / 291.4 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 14.5 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.4532/0.5873, allocations: 195.2 MB / 0.8751 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009652/0.597, allocations: 6.628 MB / 0.8815 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.5982, allocations: 38.91 kB / 0.8816 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.5997, allocations: 0.4936 MB / 0.8821 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.6043, allocations: 1.796 MB / 0.8838 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.6068, allocations: 0.9039 MB / 0.8847 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.6103, allocations: 3.213 MB / 0.8878 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.6116, allocations: 0.7927 MB / 0.8886 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.6149, allocations: 1.521 MB / 0.8901 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.6163, allocations: 0.8676 MB / 0.8909 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.6164, allocations: 48 kB / 0.891 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.6197, allocations: 1.532 MB / 0.8925 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.6201, allocations: 350.7 kB / 0.8928 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.6204, allocations: 269.1 kB / 0.8931 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.6225, allocations: 1.711 MB / 0.8947 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6225, allocations: 3.984 kB / 0.8947 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6225, allocations: 0 / 0.8947 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.6225, allocations: 0 / 0.8947 GB, free: 9.188 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.003791/0.6263, allocations: 1.615 MB / 0.8963 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.6264, allocations: 11.97 kB / 0.8963 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.6293, allocations: 0.5878 MB / 0.8969 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.631, allocations: 0.9259 MB / 0.8978 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005706/0.6316, allocations: 197.9 kB / 0.898 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.6317, allocations: 80 kB / 0.8981 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.6343, allocations: 1.268 MB / 0.8993 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.6344, allocations: 0 / 0.8993 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.6345, allocations: 35.98 kB / 0.8993 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/0.6345, allocations: 41.98 kB / 0.8994 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.6381, allocations: 1.616 MB / 0.901 GB, free: 2.703 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.005917/0.644, allocations: 4.088 MB / 0.905 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.6464, allocations: 1.049 MB / 0.906 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.6479, allocations: 0.6956 MB / 0.9067 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.6489, allocations: 0.6321 MB / 0.9073 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.649, allocations: 43.22 kB / 0.9073 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/0.649, allocations: 0 / 0.9073 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004645/0.6536, allocations: 1.914 MB / 0.9092 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6537, allocations: 60.06 kB / 0.9092 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6547, allocations: 0.8193 MB / 0.91 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.6548, allocations: 41.7 kB / 0.9101 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.6551, allocations: 444.5 kB / 0.9105 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.6554, allocations: 260.1 kB / 0.9108 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.6554, allocations: 16 kB / 0.9108 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6556, allocations: 334 kB / 0.9111 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6569, allocations: 0.5524 MB / 0.9116 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.6584, allocations: 0.6824 MB / 0.9123 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.6598, allocations: 0.6178 MB / 0.9129 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6598, allocations: 0 / 0.9129 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003146/0.6629, allocations: 1.407 MB / 0.9143 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/0.663, allocations: 151.9 kB / 0.9144 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.6631, allocations: 4 kB / 0.9144 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6631, allocations: 7.953 kB / 0.9144 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.6646, allocations: 271.6 kB / 0.9147 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006366/0.6653, allocations: 1.199 MB / 0.9159 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6664, allocations: 192.4 kB / 0.916 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.6665, allocations: 31.98 kB / 0.9161 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.6665, allocations: 7.953 kB / 0.9161 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002977/0.6695, allocations: 1.298 MB / 0.9173 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6695, allocations: 4 kB / 0.9173 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.6696, allocations: 4 kB / 0.9174 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.6707, allocations: 243.8 kB / 0.9176 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6707, allocations: 4 kB / 0.9176 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6719, allocations: 191.1 kB / 0.9178 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.672, allocations: 40.47 kB / 0.9178 GB, free: 0.8398 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.0005363/0.6725, allocations: 373 kB / 0.9182 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6727, allocations: 102.7 kB / 0.9183 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.676, allocations: 1.437 MB / 0.9197 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6761, allocations: 8 kB / 0.9197 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6761, allocations: 7.969 kB / 0.9197 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6761, allocations: 3.938 kB / 0.9197 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/0.6813, allocations: 2.933 MB / 0.9226 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.6814, allocations: 4 kB / 0.9226 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6826, allocations: 248.1 kB / 0.9228 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.6826, allocations: 8 kB / 0.9228 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.6827, allocations: 31.97 kB / 0.9228 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005536/0.6833, allocations: 1.188 MB / 0.924 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6833, allocations: 7.938 kB / 0.924 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.6864, allocations: 1.533 MB / 0.9255 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.6868, allocations: 307.6 kB / 0.9258 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.687, allocations: 19.98 kB / 0.9258 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6882, allocations: 159.7 kB / 0.926 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6883, allocations: 72.38 kB / 0.926 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.916e-05/0.6884, allocations: 35.97 kB / 0.9261 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007282/0.6891, allocations: 0.5583 MB / 0.9266 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6891, allocations: 0 / 0.9266 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001301/0.6904, allocations: 0.5341 MB / 0.9271 GB, free: 7.039 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.0005542/0.691, allocations: 278.3 kB / 0.9274 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004979/0.696, allocations: 2.116 MB / 0.9295 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.696, allocations: 0 / 0.9295 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.6977, allocations: 0.7105 MB / 0.9302 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.7002, allocations: 0.5299 MB / 0.9307 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.7045, allocations: 2.478 MB / 0.9331 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.7051, allocations: 1.098 MB / 0.9342 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001697/0.7068, allocations: 395.5 kB / 0.9345 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.7072, allocations: 87.41 kB / 0.9346 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of SimCode: time 6.12e-07/0.7072, allocations: 0 / 0.9346 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.03227/0.7395, allocations: 19.67 MB / 0.9538 GB, free: 11.91 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)