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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7753/0.7753, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 188.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 404.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009237/0.0009235, allocations: 81.31 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.338e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1929, allocations: 76.76 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.268/6.461, allocations: 2.168 GB / 2.796 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/6.462, allocations: 91.95 kB / 2.796 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.864/10.33, allocations: 0.9903 GB / 3.787 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.416e-06/10.33, allocations: 0 / 3.787 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001181/10.33, allocations: 39.06 kB / 3.787 GB, free: 76.34 MB / 0.6667 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.005476/10.33, allocations: 1.716 MB / 3.788 GB, free: 75.61 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/10.33, allocations: 11.28 kB / 3.788 GB, free: 75.61 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/10.33, allocations: 139.3 kB / 3.788 GB, free: 75.57 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/10.33, allocations: 0.5352 MB / 3.789 GB, free: 75.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/10.34, allocations: 1.058 MB / 3.79 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006057/10.34, allocations: 193.5 kB / 3.79 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/10.34, allocations: 97.27 kB / 3.79 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/10.34, allocations: 1.181 MB / 3.791 GB, free: 75.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/10.34, allocations: 0 / 3.791 GB, free: 75.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/10.34, allocations: 36.59 kB / 3.791 GB, free: 75.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/10.34, allocations: 44.86 kB / 3.792 GB, free: 75.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/10.34, allocations: 1.244 MB / 3.793 GB, free: 75.13 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.006739/10.35, allocations: 4.066 MB / 3.797 GB, free: 73.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/10.35, allocations: 0.8009 MB / 3.797 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/10.35, allocations: 0.4935 MB / 3.798 GB, free: 73.56 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008806/10.35, allocations: 0.6131 MB / 3.799 GB, free: 73 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/10.35, allocations: 39.62 kB / 3.799 GB, free: 72.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 3.185e-06/10.35, allocations: 0 / 3.799 GB, free: 72.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.002518/10.36, allocations: 1.063 MB / 3.8 GB, free: 72.85 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/10.36, allocations: 65.28 kB / 3.8 GB, free: 72.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/10.36, allocations: 0.6927 MB / 3.8 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/10.36, allocations: 45.7 kB / 3.8 GB, free: 72.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/10.36, allocations: 445.2 kB / 3.801 GB, free: 72.46 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/10.36, allocations: 259.9 kB / 3.801 GB, free: 72.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/10.36, allocations: 16.12 kB / 3.801 GB, free: 72.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/10.36, allocations: 338.3 kB / 3.801 GB, free: 72.03 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/10.36, allocations: 386.9 kB / 3.802 GB, free: 72.03 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/10.36, allocations: 0.521 MB / 3.802 GB, free: 71.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/10.36, allocations: 449.2 kB / 3.803 GB, free: 71.87 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/10.36, allocations: 0 / 3.803 GB, free: 71.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001617/10.36, allocations: 1.062 MB / 3.804 GB, free: 71.74 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/10.36, allocations: 394.1 kB / 3.804 GB, free: 71.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/10.36, allocations: 3.75 kB / 3.804 GB, free: 71.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/10.36, allocations: 3.938 kB / 3.804 GB, free: 71.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/10.36, allocations: 428.7 kB / 3.805 GB, free: 71.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/10.36, allocations: 1.296 MB / 3.806 GB, free: 70.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/10.37, allocations: 203.2 kB / 3.806 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/10.37, allocations: 38.36 kB / 3.806 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/10.37, allocations: 6.938 kB / 3.806 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/10.37, allocations: 0.9285 MB / 3.807 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/10.37, allocations: 3.062 kB / 3.807 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/10.37, allocations: 3.75 kB / 3.807 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/10.37, allocations: 253.4 kB / 3.807 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/10.37, allocations: 7.422 kB / 3.807 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/10.37, allocations: 195.8 kB / 3.807 GB, free: 70.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/10.37, allocations: 36.17 kB / 3.807 GB, free: 70.08 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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.0002231/10.37, allocations: 143.7 kB / 3.808 GB, free: 69.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/10.37, allocations: 109.8 kB / 3.808 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/10.37, allocations: 1.064 MB / 3.809 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/10.37, allocations: 10.59 kB / 3.809 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/10.37, allocations: 3.953 kB / 3.809 GB, free: 69.85 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/10.37, allocations: 3.188 kB / 3.809 GB, free: 69.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/10.38, allocations: 2.517 MB / 3.811 GB, free: 69.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/10.38, allocations: 3.656 kB / 3.811 GB, free: 69.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/10.38, allocations: 443.4 kB / 3.812 GB, free: 69.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/10.38, allocations: 7.562 kB / 3.812 GB, free: 69.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/10.38, allocations: 21.36 kB / 3.812 GB, free: 69.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003347/10.38, allocations: 2.991 MB / 3.815 GB, free: 66.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/10.38, allocations: 6.469 kB / 3.815 GB, free: 66.77 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/10.38, allocations: 1.324 MB / 3.816 GB, free: 66.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/10.38, allocations: 300.7 kB / 3.816 GB, free: 66.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/10.38, allocations: 21.91 kB / 3.816 GB, free: 66.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/10.39, allocations: 171.7 kB / 3.816 GB, free: 66.06 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/10.39, allocations: 69.92 kB / 3.816 GB, free: 66.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/10.39, allocations: 38.19 kB / 3.816 GB, free: 66.06 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007424/10.39, allocations: 0.5355 MB / 3.817 GB, free: 65.94 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.5e-07/10.39, allocations: 3 kB / 3.817 GB, free: 65.94 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002328/10.39, allocations: 0.753 MB / 3.818 GB, free: 65.89 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * 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.006217/10.4, allocations: 5.127 MB / 3.823 GB, free: 63.11 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00389/10.4, allocations: 1.739 MB / 3.824 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/10.4, allocations: 5.562 kB / 3.824 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/10.4, allocations: 0.6802 MB / 3.825 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/10.4, allocations: 0.496 MB / 3.826 GB, free: 62.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/10.41, allocations: 1.743 MB / 3.827 GB, free: 62.42 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/10.41, allocations: 1.109 MB / 3.828 GB, free: 61.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001892/10.41, allocations: 455.2 kB / 3.829 GB, free: 61.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005871/10.41, allocations: 378.4 kB / 3.829 GB, free: 61.69 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/10.41, allocations: 0 / 3.829 GB, free: 61.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/10.51, allocations: 70.04 MB / 3.898 GB, free: 42.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/10.51, allocations: 248 kB / 3.898 GB, free: 41.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.625/15.14, allocations: 0 / 3.898 GB, free: 41.82 MB / 0.6667 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)