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.00106/0.00106, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.0009726/0.0009726, allocations: 192 kB / 17.34 MB, free: 5.727 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7837/0.7837, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.02 kB / 0.5685 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 77.94 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6174/0.7687, allocations: 214.2 MB / 0.8537 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.7817, allocations: 7.045 MB / 0.8606 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.7848, allocations: 43.94 kB / 0.8607 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.7872, allocations: 0.7851 MB / 0.8614 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007698/0.795, allocations: 2.519 MB / 0.8639 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.798, allocations: 1.174 MB / 0.865 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.8017, allocations: 2.84 MB / 0.8678 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.8032, allocations: 1.08 MB / 0.8689 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.8071, allocations: 1.993 MB / 0.8708 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.8088, allocations: 0.9377 MB / 0.8717 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.809, allocations: 116 kB / 0.8718 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.8131, allocations: 2.451 MB / 0.8742 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.8135, allocations: 422.7 kB / 0.8746 GB, free: 136 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007139/0.8143, allocations: 0.6843 MB / 0.8753 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.8177, allocations: 2.496 MB / 0.8777 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.8178, allocations: 4 kB / 0.8777 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8178, allocations: 0 / 0.8777 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.8178, allocations: 3.938 kB / 0.8777 GB, free: 12.93 MB / 0.6387 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.004286/0.8221, allocations: 1.888 MB / 0.8796 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8221, allocations: 12.62 kB / 0.8796 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.8252, allocations: 0.5416 MB / 0.8801 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.8273, allocations: 1.019 MB / 0.8811 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.8274, allocations: 66 kB / 0.8812 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.8276, allocations: 83.98 kB / 0.8813 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.8303, allocations: 1.229 MB / 0.8825 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.8303, allocations: 3.938 kB / 0.8825 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.8304, allocations: 33.12 kB / 0.8825 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.8305, allocations: 45.98 kB / 0.8825 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/0.8342, allocations: 1.522 MB / 0.884 GB, free: 6.375 MB / 0.6387 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.006881/0.841, allocations: 4.04 MB / 0.888 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.8435, allocations: 0.9669 MB / 0.8889 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.845, allocations: 0.6591 MB / 0.8896 GB, free: 436 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.8462, allocations: 0.6087 MB / 0.8902 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.8463, allocations: 39.72 kB / 0.8902 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.056e-06/0.8463, allocations: 3.938 kB / 0.8902 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.00506/0.8514, allocations: 1.789 MB / 0.8919 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.8514, allocations: 64.06 kB / 0.892 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.8526, allocations: 0.8232 MB / 0.8928 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/0.8527, allocations: 45.64 kB / 0.8929 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.8533, allocations: 449.1 kB / 0.8933 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.8536, allocations: 273.6 kB / 0.8935 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.854, allocations: 154.5 kB / 0.8937 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8541, allocations: 334 kB / 0.894 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.8555, allocations: 0.5239 MB / 0.8945 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.8571, allocations: 0.6511 MB / 0.8952 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.86, allocations: 1.115 MB / 0.8962 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.86, allocations: 8 kB / 0.8963 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003257/0.8633, allocations: 1.33 MB / 0.8976 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.8633, allocations: 33.7 kB / 0.8976 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8634, allocations: 0 / 0.8976 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8634, allocations: 4 kB / 0.8976 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.8648, allocations: 255.7 kB / 0.8978 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008701/0.8657, allocations: 1.193 MB / 0.899 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.8668, allocations: 143.5 kB / 0.8991 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.8669, allocations: 35.98 kB / 0.8992 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001819/0.8687, allocations: 0.7547 MB / 0.8999 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001569/0.8703, allocations: 0.6394 MB / 0.9005 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002763/0.8731, allocations: 1.107 MB / 0.9016 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-06/0.8731, allocations: 0 / 0.9016 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003268/0.8764, allocations: 1.326 MB / 0.9029 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.8764, allocations: 33.69 kB / 0.9029 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.8764, allocations: 4 kB / 0.9029 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.8765, allocations: 7.938 kB / 0.9029 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.8776, allocations: 223.8 kB / 0.9032 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8776, allocations: 7.938 kB / 0.9032 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.8788, allocations: 123.6 kB / 0.9033 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.8789, allocations: 35.98 kB / 0.9033 GB, free: 1.957 MB / 0.6544 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.0003015/0.8792, allocations: 224.1 kB / 0.9035 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.8794, allocations: 111.2 kB / 0.9036 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.883, allocations: 1.355 MB / 0.905 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.883, allocations: 8 kB / 0.905 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.883, allocations: 0 / 0.905 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.8831, allocations: 7.922 kB / 0.905 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/0.8885, allocations: 2.847 MB / 0.9078 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.8885, allocations: 7.938 kB / 0.9078 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.8897, allocations: 228.1 kB / 0.908 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.8897, allocations: 12 kB / 0.908 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.8899, allocations: 23.92 kB / 0.908 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005934/0.8905, allocations: 1.188 MB / 0.9092 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.8905, allocations: 7.938 kB / 0.9092 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.8938, allocations: 1.46 MB / 0.9106 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.8943, allocations: 312.1 kB / 0.9109 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.8945, allocations: 19.98 kB / 0.9109 GB, free: 9.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8955, allocations: 111.8 kB / 0.911 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8956, allocations: 56.42 kB / 0.9111 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.8957, allocations: 43.97 kB / 0.9111 GB, free: 9.711 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007298/0.8964, allocations: 0.57 MB / 0.9117 GB, free: 9.129 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.315e-06/0.8965, allocations: 0 / 0.9117 GB, free: 9.129 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001286/0.8977, allocations: 0.5381 MB / 0.9122 GB, free: 8.59 MB / 0.67 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.000523/0.8983, allocations: 267.5 kB / 0.9125 GB, free: 8.336 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005216/0.9035, allocations: 2.006 MB / 0.9144 GB, free: 6.305 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.9035, allocations: 4.062 kB / 0.9144 GB, free: 6.301 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.9052, allocations: 0.6636 MB / 0.9151 GB, free: 5.637 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.9076, allocations: 0.4893 MB / 0.9156 GB, free: 5.148 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.9119, allocations: 2.1 MB / 0.9176 GB, free: 2.973 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.9126, allocations: 1.094 MB / 0.9187 GB, free: 1.844 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001454/0.9141, allocations: 391.5 kB / 0.9191 GB, free: 1.457 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.9145, allocations: 91.34 kB / 0.9191 GB, free: 1.367 MB / 0.67 GB Notification: Performance of SimCode: time 1.853e-06/0.9145, allocations: 4 kB / 0.9191 GB, free: 1.363 MB / 0.67 GB Notification: Performance of Templates: time 0.03179/0.9463, allocations: 21.08 MB / 0.9397 GB, free: 12.55 MB / 0.7012 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)