Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 182.5 kB / 16.92 MB, free: 6.766 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7954/0.7954, allocations: 115.4 MB / 407.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005466, allocations: 9.062 kB / 495.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1988, allocations: 77.52 MB / 0.5598 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5327/0.7315, allocations: 209.2 MB / 0.7641 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.7426, allocations: 7.047 MB / 0.7709 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.744, allocations: 39.69 kB / 0.771 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.7458, allocations: 0.6528 MB / 0.7716 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006125/0.7519, allocations: 2.377 MB / 0.7739 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.7547, allocations: 1.055 MB / 0.775 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004662/0.7593, allocations: 3.757 MB / 0.7786 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.7609, allocations: 0.8909 MB / 0.7795 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.7648, allocations: 1.767 MB / 0.7812 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.7668, allocations: 0.9121 MB / 0.7821 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.7669, allocations: 48 kB / 0.7822 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.7716, allocations: 2.798 MB / 0.7849 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.772, allocations: 354.6 kB / 0.7852 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.7728, allocations: 0.6195 MB / 0.7859 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.7764, allocations: 2.523 MB / 0.7883 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7764, allocations: 0 / 0.7883 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7764, allocations: 0 / 0.7883 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.7765, allocations: 0 / 0.7883 GB, free: 12.82 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.004035/0.7805, allocations: 1.603 MB / 0.7899 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7805, allocations: 8.031 kB / 0.7899 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.7838, allocations: 0.5877 MB / 0.7905 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.786, allocations: 0.9602 MB / 0.7914 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006821/0.7867, allocations: 205.8 kB / 0.7916 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.7869, allocations: 83.98 kB / 0.7917 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.7897, allocations: 1.272 MB / 0.7929 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.7898, allocations: 0 / 0.7929 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.7899, allocations: 32 kB / 0.7929 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.79, allocations: 45.98 kB / 0.793 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003946/0.7939, allocations: 1.612 MB / 0.7946 GB, free: 6.309 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.006854/0.8008, allocations: 4.084 MB / 0.7986 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.8035, allocations: 1.063 MB / 0.7996 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.8052, allocations: 0.7052 MB / 0.8003 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.8064, allocations: 0.636 MB / 0.8009 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.8064, allocations: 39.22 kB / 0.8009 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/0.8064, allocations: 0 / 0.8009 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.005194/0.8116, allocations: 1.918 MB / 0.8028 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.8117, allocations: 68 kB / 0.8029 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.8127, allocations: 0.8155 MB / 0.8037 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.8129, allocations: 45.7 kB / 0.8037 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.8132, allocations: 448.4 kB / 0.8041 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.8134, allocations: 260.1 kB / 0.8044 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.8136, allocations: 61.69 kB / 0.8045 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8137, allocations: 330 kB / 0.8048 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.8152, allocations: 0.5679 MB / 0.8053 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.8169, allocations: 0.6902 MB / 0.806 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.8201, allocations: 1.208 MB / 0.8072 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8202, allocations: 4 kB / 0.8072 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003906/0.8241, allocations: 1.411 MB / 0.8086 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.8242, allocations: 144 kB / 0.8087 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.8242, allocations: 0 / 0.8087 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8242, allocations: 4 kB / 0.8087 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.8259, allocations: 283.6 kB / 0.809 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008424/0.8267, allocations: 1.192 MB / 0.8101 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.8283, allocations: 199.2 kB / 0.8103 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.8284, allocations: 31.98 kB / 0.8104 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.8284, allocations: 6.656 kB / 0.8104 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003574/0.832, allocations: 1.301 MB / 0.8116 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.832, allocations: 0 / 0.8116 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.832, allocations: 7.938 kB / 0.8116 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.8333, allocations: 251.8 kB / 0.8119 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.8334, allocations: 4 kB / 0.8119 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.8348, allocations: 187.2 kB / 0.8121 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.8349, allocations: 35.97 kB / 0.8121 GB, free: 3.75 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006319/0.8356, allocations: 369 kB / 0.8124 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.8358, allocations: 102.8 kB / 0.8125 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.8398, allocations: 1.449 MB / 0.814 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.8398, allocations: 8 kB / 0.814 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8398, allocations: 0 / 0.814 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.8398, allocations: 3.984 kB / 0.814 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/0.8463, allocations: 2.936 MB / 0.8168 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8464, allocations: 4 kB / 0.8168 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.8477, allocations: 256.1 kB / 0.8171 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.8478, allocations: 8 kB / 0.8171 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.8478, allocations: 27.92 kB / 0.8171 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005787/0.8484, allocations: 1.191 MB / 0.8183 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8484, allocations: 7.938 kB / 0.8183 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.8521, allocations: 1.537 MB / 0.8198 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/0.8529, allocations: 315.5 kB / 0.8201 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.8532, allocations: 12 kB / 0.8201 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.8547, allocations: 167.7 kB / 0.8203 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.8549, allocations: 64.36 kB / 0.8203 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.855, allocations: 35.97 kB / 0.8204 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001003/0.856, allocations: 0.5739 MB / 0.8209 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8561, allocations: 0 / 0.8209 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001565/0.8576, allocations: 0.5302 MB / 0.8214 GB, free: 9.906 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006985/0.8583, allocations: 273.6 kB / 0.8217 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005939/0.8643, allocations: 2.139 MB / 0.8238 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.8643, allocations: 0 / 0.8238 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.8663, allocations: 0.7144 MB / 0.8245 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/0.87, allocations: 0.5264 MB / 0.825 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/0.8753, allocations: 2.555 MB / 0.8275 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/0.8764, allocations: 1.091 MB / 0.8286 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002035/0.8784, allocations: 391.5 kB / 0.8289 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.8789, allocations: 87.39 kB / 0.829 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.8789, allocations: 0 / 0.829 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of Templates: time 0.3113/1.19, allocations: 20.2 MB / 0.8487 GB, free: 227.7 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)