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.7489/0.7489, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 188.2 kB / 173.7 MB, free: 6.117 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.934/1.934, allocations: 205.4 MB / 409 MB, free: 10.49 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.001113/0.001113, allocations: 91.59 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 13.03 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1843, allocations: 76.76 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.706/5.89, allocations: 2.168 GB / 2.803 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/5.891, allocations: 94.91 kB / 2.803 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.012/8.903, allocations: 0.9913 GB / 3.795 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.525e-06/8.903, allocations: 3.125 kB / 3.795 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001398/8.903, allocations: 28.61 kB / 3.795 GB, free: 76.5 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.006509/8.909, allocations: 1.892 MB / 3.797 GB, free: 75.65 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/8.909, allocations: 10.81 kB / 3.797 GB, free: 75.65 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000381/8.91, allocations: 140.4 kB / 3.797 GB, free: 75.61 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/8.913, allocations: 0.5393 MB / 3.797 GB, free: 75.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/8.916, allocations: 1.069 MB / 3.798 GB, free: 75.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006011/8.916, allocations: 209.4 kB / 3.799 GB, free: 75.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/8.917, allocations: 85.78 kB / 3.799 GB, free: 75.26 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/8.92, allocations: 1.392 MB / 3.8 GB, free: 75.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/8.92, allocations: 2.594 kB / 3.8 GB, free: 75.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/8.92, allocations: 29.72 kB / 3.8 GB, free: 75.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/8.92, allocations: 46.56 kB / 3.8 GB, free: 75.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/8.924, allocations: 1.649 MB / 3.802 GB, free: 75.17 MB / 0.6667 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.006618/8.931, allocations: 4.057 MB / 3.806 GB, free: 73.64 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/8.933, allocations: 1.13 MB / 3.807 GB, free: 73.61 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008874/8.934, allocations: 0.6124 MB / 3.807 GB, free: 73.04 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/8.934, allocations: 40.59 kB / 3.807 GB, free: 73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 2.394e-06/8.934, allocations: 0 / 3.807 GB, free: 73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.005693/8.94, allocations: 2.017 MB / 3.809 GB, free: 72.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/8.94, allocations: 60.06 kB / 3.809 GB, free: 72.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/8.941, allocations: 0.6989 MB / 3.81 GB, free: 72.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/8.941, allocations: 39.8 kB / 3.81 GB, free: 72.67 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/8.942, allocations: 457.6 kB / 3.811 GB, free: 72.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/8.942, allocations: 262 kB / 3.811 GB, free: 72.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/8.942, allocations: 17.22 kB / 3.811 GB, free: 72.39 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/8.942, allocations: 337.1 kB / 3.811 GB, free: 72.09 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/8.944, allocations: 0.579 MB / 3.812 GB, free: 72.09 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/8.945, allocations: 0.7196 MB / 3.812 GB, free: 71.96 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/8.947, allocations: 0.6449 MB / 3.813 GB, free: 71.93 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/8.947, allocations: 0 / 3.813 GB, free: 71.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003324/8.95, allocations: 1.455 MB / 3.814 GB, free: 71.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/8.95, allocations: 398.5 kB / 3.815 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/8.95, allocations: 0 / 3.815 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/8.95, allocations: 5.156 kB / 3.815 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/8.953, allocations: 427.3 kB / 3.815 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/8.954, allocations: 1.334 MB / 3.817 GB, free: 70.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/8.956, allocations: 213.4 kB / 3.817 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/8.956, allocations: 39.75 kB / 3.817 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/8.956, allocations: 3.781 kB / 3.817 GB, free: 70.2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002837/8.959, allocations: 1.305 MB / 3.818 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/8.959, allocations: 0 / 3.818 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/8.959, allocations: 7.016 kB / 3.818 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/8.96, allocations: 249.7 kB / 3.818 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/8.96, allocations: 7.859 kB / 3.818 GB, free: 70.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/8.961, allocations: 197.9 kB / 3.819 GB, free: 70.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/8.961, allocations: 36.16 kB / 3.819 GB, free: 70.12 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 () * Number of clocked 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.0006388/8.962, allocations: 376.3 kB / 3.819 GB, free: 69.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/8.962, allocations: 96.94 kB / 3.819 GB, free: 69.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/8.966, allocations: 1.472 MB / 3.82 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/8.966, allocations: 7.438 kB / 3.82 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/8.966, allocations: 3.953 kB / 3.82 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/8.966, allocations: 9.984 kB / 3.82 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/8.971, allocations: 2.899 MB / 3.823 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/8.971, allocations: 5.656 kB / 3.823 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/8.974, allocations: 443.2 kB / 3.824 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/8.974, allocations: 9.906 kB / 3.824 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/8.974, allocations: 20.77 kB / 3.824 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/8.978, allocations: 3.161 MB / 3.827 GB, free: 66.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/8.978, allocations: 6.594 kB / 3.827 GB, free: 66.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/8.981, allocations: 1.723 MB / 3.829 GB, free: 66.15 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/8.982, allocations: 300.9 kB / 3.829 GB, free: 66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/8.982, allocations: 20.56 kB / 3.829 GB, free: 66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/8.984, allocations: 169.3 kB / 3.829 GB, free: 65.99 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/8.984, allocations: 59.94 kB / 3.829 GB, free: 65.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/8.984, allocations: 38.05 kB / 3.829 GB, free: 65.99 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008144/8.985, allocations: 0.5494 MB / 3.83 GB, free: 65.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/8.985, allocations: 0 / 3.83 GB, free: 65.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00261/8.988, allocations: 0.7608 MB / 3.83 GB, free: 65.82 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 () * Number of clocked 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.006616/8.994, allocations: 5.523 MB / 3.836 GB, free: 63.06 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006012/9, allocations: 2.295 MB / 3.838 GB, free: 62.92 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/9, allocations: 3.594 kB / 3.838 GB, free: 62.92 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/9.003, allocations: 0.8812 MB / 3.839 GB, free: 62.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/9.006, allocations: 0.503 MB / 3.839 GB, free: 62.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/9.011, allocations: 3.409 MB / 3.843 GB, free: 61.11 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/9.012, allocations: 1.106 MB / 3.844 GB, free: 60.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001737/9.014, allocations: 381.6 kB / 3.844 GB, free: 60.39 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/9.014, allocations: 394.3 kB / 3.844 GB, free: 60.38 MB / 0.6667 GB Notification: Performance of SimCode: time 9.61e-07/9.014, allocations: 0 / 3.844 GB, free: 60.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/9.099, allocations: 62.33 MB / 3.905 GB, free: 35.89 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/9.099, allocations: 272.7 kB / 3.906 GB, free: 35.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/13.18, allocations: 4 kB / 3.906 GB, free: 35.52 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)