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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009147, allocations: 85.94 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.001028/0.001028, 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.11/1.11, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004107, allocations: 11.98 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2801, allocations: 83.4 MB / 0.5975 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5978/0.878, allocations: 195.3 MB / 0.7882 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.8882, allocations: 6.629 MB / 0.7947 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.8897, allocations: 35.75 kB / 0.7947 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.8914, allocations: 0.4966 MB / 0.7952 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.897, allocations: 1.789 MB / 0.797 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.9, allocations: 0.9126 MB / 0.7978 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004584/0.9046, allocations: 3.203 MB / 0.801 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.906, allocations: 0.7923 MB / 0.8018 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.9103, allocations: 1.529 MB / 0.8032 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.9123, allocations: 0.8637 MB / 0.8041 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003858/0.9127, allocations: 44 kB / 0.8041 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.9173, allocations: 1.547 MB / 0.8056 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.918, allocations: 342.8 kB / 0.806 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.9186, allocations: 269.1 kB / 0.8062 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.9218, allocations: 1.804 MB / 0.808 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9219, allocations: 0 / 0.808 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9219, allocations: 3.938 kB / 0.808 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.125e-05/0.9219, allocations: 0 / 0.808 GB, free: 4.57 MB / 0.6231 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.005163/0.9271, allocations: 1.618 MB / 0.8096 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.9272, allocations: 8.031 kB / 0.8096 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004101/0.9276, allocations: 127.1 kB / 0.8097 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.9307, allocations: 0.5839 MB / 0.8103 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.933, allocations: 0.9297 MB / 0.8112 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005798/0.9335, allocations: 197.9 kB / 0.8114 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.9338, allocations: 87.94 kB / 0.8114 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.9368, allocations: 1.261 MB / 0.8127 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.9369, allocations: 3.984 kB / 0.8127 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.937, allocations: 35.91 kB / 0.8127 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-05/0.9371, allocations: 49.92 kB / 0.8128 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.9408, allocations: 1.612 MB / 0.8143 GB, free: 13.95 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.007986/0.9489, allocations: 4.097 MB / 0.8183 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.9514, allocations: 1.04 MB / 0.8194 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.9529, allocations: 0.6987 MB / 0.82 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.9541, allocations: 0.636 MB / 0.8207 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.9541, allocations: 43.22 kB / 0.8207 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.156e-06/0.9541, allocations: 0 / 0.8207 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004766/0.9589, allocations: 1.91 MB / 0.8226 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.959, allocations: 56.06 kB / 0.8226 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.9603, allocations: 0.8153 MB / 0.8234 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.9604, allocations: 41.7 kB / 0.8235 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.9608, allocations: 444.6 kB / 0.8239 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.9611, allocations: 260.2 kB / 0.8241 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.9612, allocations: 16 kB / 0.8241 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9613, allocations: 334 kB / 0.8245 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.9627, allocations: 0.5679 MB / 0.825 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.9642, allocations: 0.691 MB / 0.8257 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.9656, allocations: 0.6178 MB / 0.8263 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.9656, allocations: 3.953 kB / 0.8263 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003381/0.969, allocations: 1.427 MB / 0.8277 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.9692, allocations: 156.8 kB / 0.8278 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9692, allocations: 1.938 kB / 0.8278 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.9692, allocations: 7.984 kB / 0.8279 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.9707, allocations: 286.2 kB / 0.8281 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007868/0.9715, allocations: 1.184 MB / 0.8293 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.9728, allocations: 199.2 kB / 0.8295 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.9729, allocations: 39.97 kB / 0.8295 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.9729, allocations: 4 kB / 0.8295 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/0.976, allocations: 1.309 MB / 0.8308 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.976, allocations: 4 kB / 0.8308 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.976, allocations: 4 kB / 0.8308 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.9772, allocations: 255.7 kB / 0.831 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.9772, allocations: 4 kB / 0.831 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.9788, allocations: 201.1 kB / 0.8312 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.9789, allocations: 35.97 kB / 0.8313 GB, free: 12.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0009371/0.9798, allocations: 369 kB / 0.8316 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.9803, allocations: 102.8 kB / 0.8317 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.9843, allocations: 1.442 MB / 0.8331 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.9843, allocations: 4 kB / 0.8331 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.9843, allocations: 3.938 kB / 0.8331 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.9844, allocations: 11.94 kB / 0.8332 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00641/0.9908, allocations: 2.923 MB / 0.836 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.9908, allocations: 4 kB / 0.836 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.9921, allocations: 253.5 kB / 0.8363 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/0.9921, allocations: 4 kB / 0.8363 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.9922, allocations: 23.98 kB / 0.8363 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008756/0.9931, allocations: 1.195 MB / 0.8374 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.9931, allocations: 4 kB / 0.8374 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.9965, allocations: 1.533 MB / 0.8389 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.9972, allocations: 315.5 kB / 0.8392 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.9975, allocations: 16 kB / 0.8393 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.9988, allocations: 163.8 kB / 0.8394 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.999, allocations: 64.38 kB / 0.8395 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.9991, allocations: 31.98 kB / 0.8395 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001118/1, allocations: 0.5622 MB / 0.8401 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/1, allocations: 0 / 0.8401 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002002/1.002, allocations: 0.5379 MB / 0.8406 GB, free: 2.219 MB / 0.6544 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.004342/1.007, allocations: 2.268 MB / 0.8428 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00527/1.012, allocations: 2.137 MB / 0.8449 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.012, allocations: 4 kB / 0.8449 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.014, allocations: 0.7105 MB / 0.8456 GB, free: 13.02 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.016, allocations: 0.513 MB / 0.8461 GB, free: 12.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.032, allocations: 6.94 MB / 0.8529 GB, free: 5.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/1.033, allocations: 1.091 MB / 0.8539 GB, free: 4.219 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002011/1.035, allocations: 398.4 kB / 0.8543 GB, free: 3.828 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008073/1.036, allocations: 391.3 kB / 0.8547 GB, free: 3.449 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/1.036, allocations: 0 / 0.8547 GB, free: 3.449 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3506/1.386, allocations: 28.8 MB / 0.8828 GB, free: 205.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.387, allocations: 285.9 kB / 0.8831 GB, free: 205.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/4.086, allocations: 0 / 0.8831 GB, free: 205.5 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: