Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0008983/0.0008983, allocations: 99.55 kB / 15.05 MB, free: 1.105 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: 177.3 kB / 15.95 MB, free: 216 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.284/1.284, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9433/0.9433, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 8 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 83.4 MB / 0.5973 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4487/0.5967, allocations: 176.7 MB / 0.7699 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.6079, allocations: 6.975 MB / 0.7767 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.6093, allocations: 39.69 kB / 0.7767 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.6116, allocations: 0.7233 MB / 0.7774 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.619, allocations: 2.171 MB / 0.7795 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.6223, allocations: 1.144 MB / 0.7807 GB, free: 364 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.6252, allocations: 1.628 MB / 0.7822 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.6265, allocations: 0.8313 MB / 0.7831 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.6294, allocations: 1.32 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00091/0.6303, allocations: 0.6225 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.6304, allocations: 44 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.6333, allocations: 1.33 MB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.6337, allocations: 315 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.634, allocations: 269.1 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.636, allocations: 1.694 MB / 0.7885 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6361, allocations: 0 / 0.7885 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6361, allocations: 0 / 0.7885 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.6361, allocations: 7.938 kB / 0.7885 GB, free: 8.289 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.0041/0.6402, allocations: 1.579 MB / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6402, allocations: 8.031 kB / 0.7901 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.6434, allocations: 0.589 MB / 0.7906 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.6453, allocations: 0.9298 MB / 0.7915 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006545/0.646, allocations: 193.9 kB / 0.7917 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.6461, allocations: 84 kB / 0.7918 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.6489, allocations: 1.26 MB / 0.793 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.6489, allocations: 0 / 0.793 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.649, allocations: 32 kB / 0.7931 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-05/0.6491, allocations: 45.98 kB / 0.7931 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.653, allocations: 1.608 MB / 0.7947 GB, free: 1.859 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.006464/0.6595, allocations: 4.095 MB / 0.7987 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.6622, allocations: 1.077 MB / 0.7997 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007986/0.663, allocations: 298.9 kB / 0.8 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.663, allocations: 43.16 kB / 0.8001 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.663, allocations: 0 / 0.8001 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.005084/0.6681, allocations: 1.906 MB / 0.8019 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.6682, allocations: 64.06 kB / 0.802 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6692, allocations: 0.8114 MB / 0.8028 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6693, allocations: 41.7 kB / 0.8028 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.6697, allocations: 440.5 kB / 0.8032 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.6699, allocations: 256.2 kB / 0.8035 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.67, allocations: 16 kB / 0.8035 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6701, allocations: 334 kB / 0.8038 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.6716, allocations: 0.5602 MB / 0.8044 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.6731, allocations: 0.6997 MB / 0.805 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6747, allocations: 0.6178 MB / 0.8056 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6747, allocations: 4 kB / 0.8056 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00346/0.6782, allocations: 1.427 MB / 0.807 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.6784, allocations: 0.5686 MB / 0.8076 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6784, allocations: 0.625 kB / 0.8076 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6784, allocations: 7.938 kB / 0.8076 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.6801, allocations: 280.8 kB / 0.8079 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006633/0.6807, allocations: 1.195 MB / 0.809 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.682, allocations: 199.3 kB / 0.8092 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.6821, allocations: 35.98 kB / 0.8093 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.6821, allocations: 1.406 kB / 0.8093 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003262/0.6854, allocations: 1.321 MB / 0.8106 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.6854, allocations: 0 / 0.8106 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.6854, allocations: 4 kB / 0.8106 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.6866, allocations: 255.8 kB / 0.8108 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.6867, allocations: 11.94 kB / 0.8108 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6878, allocations: 199 kB / 0.811 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.6879, allocations: 35.97 kB / 0.811 GB, free: 0.5703 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (86): * Single equations (assignments): 83 * 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.0005351/0.6884, allocations: 369.6 kB / 0.8114 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.6886, allocations: 102.8 kB / 0.8115 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.6921, allocations: 1.43 MB / 0.8129 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6922, allocations: 8 kB / 0.8129 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6922, allocations: 4 kB / 0.8129 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6922, allocations: 3.984 kB / 0.8129 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005694/0.6979, allocations: 3.003 MB / 0.8158 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6979, allocations: 4.531 kB / 0.8158 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.6992, allocations: 249.1 kB / 0.8161 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6992, allocations: 8 kB / 0.8161 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.6993, allocations: 23.98 kB / 0.8161 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000588/0.6999, allocations: 1.192 MB / 0.8173 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6999, allocations: 12.12 kB / 0.8173 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.7034, allocations: 1.745 MB / 0.819 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.704, allocations: 311.5 kB / 0.8193 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.7041, allocations: 23.98 kB / 0.8193 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7054, allocations: 159.8 kB / 0.8195 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7055, allocations: 68.45 kB / 0.8195 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.7056, allocations: 39.97 kB / 0.8196 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007135/0.7063, allocations: 0.5544 MB / 0.8201 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7063, allocations: 0 / 0.8201 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001344/0.7077, allocations: 0.538 MB / 0.8206 GB, free: 6.375 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.000572/0.7083, allocations: 275 kB / 0.8209 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005367/0.7137, allocations: 2.151 MB / 0.823 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7137, allocations: 0 / 0.823 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.7155, allocations: 0.7068 MB / 0.8237 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.7178, allocations: 0.5024 MB / 0.8242 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.7222, allocations: 2.497 MB / 0.8266 GB, free: 172 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.7229, allocations: 1.114 MB / 0.8277 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001567/0.7245, allocations: 393.7 kB / 0.8281 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.7248, allocations: 83.41 kB / 0.8282 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.7248, allocations: 4 kB / 0.8282 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.03099/0.7558, allocations: 19.47 MB / 0.8472 GB, free: 11.39 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: