Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6893/0.6893, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009068/0.0009069, allocations: 183 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 98.72 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001561/0.001562, allocations: 271.2 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.325e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3672, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.702/4.07, allocations: 1.856 GB / 2.62 GB, free: 149.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/4.07, allocations: 85.02 kB / 2.62 GB, free: 149.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.289/7.359, allocations: 1.01 GB / 3.63 GB, free: 109 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.303e-06/7.359, allocations: 2.438 kB / 3.63 GB, free: 109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.059e-05/7.359, allocations: 33.23 kB / 3.63 GB, free: 109 MB / 0.7292 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.005093/7.364, allocations: 1.795 MB / 3.632 GB, free: 108.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/7.364, allocations: 10.72 kB / 3.632 GB, free: 108.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/7.364, allocations: 128.5 kB / 3.632 GB, free: 108.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/7.367, allocations: 0.5458 MB / 3.632 GB, free: 108.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/7.369, allocations: 1.077 MB / 3.633 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/7.37, allocations: 196.1 kB / 3.634 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/7.37, allocations: 86.58 kB / 3.634 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/7.372, allocations: 1.137 MB / 3.635 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/7.372, allocations: 0 / 3.635 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/7.372, allocations: 35.88 kB / 3.635 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/7.372, allocations: 46.98 kB / 3.635 GB, free: 108 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/7.373, allocations: 1.112 MB / 3.636 GB, free: 107.9 MB / 0.7292 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.005529/7.379, allocations: 4.199 MB / 3.64 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/7.38, allocations: 0.7634 MB / 3.641 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/7.381, allocations: 0.5112 MB / 3.641 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008589/7.382, allocations: 0.6052 MB / 3.642 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/7.382, allocations: 49.17 kB / 3.642 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.174e-06/7.382, allocations: 0 / 3.642 GB, free: 105.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001886/7.383, allocations: 1.021 MB / 3.643 GB, free: 105.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/7.384, allocations: 59.78 kB / 3.643 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/7.384, allocations: 0.7 MB / 3.644 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/7.384, allocations: 43.11 kB / 3.644 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/7.385, allocations: 454 kB / 3.644 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/7.385, allocations: 253.5 kB / 3.644 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/7.385, allocations: 14.38 kB / 3.644 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/7.385, allocations: 340.9 kB / 3.645 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/7.386, allocations: 404.9 kB / 3.645 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/7.386, allocations: 0.5459 MB / 3.646 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/7.387, allocations: 467.3 kB / 3.646 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/7.387, allocations: 9.562 kB / 3.646 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001674/7.389, allocations: 1.099 MB / 3.647 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/7.389, allocations: 481 kB / 3.648 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/7.389, allocations: 5.156 kB / 3.648 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/7.389, allocations: 3.938 kB / 3.648 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/7.39, allocations: 269 kB / 3.648 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004848/7.391, allocations: 1.201 MB / 3.649 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/7.392, allocations: 200.7 kB / 3.649 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/7.392, allocations: 40.92 kB / 3.649 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/7.392, allocations: 5.938 kB / 3.649 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/7.394, allocations: 0.9935 MB / 3.65 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/7.394, allocations: 2.906 kB / 3.65 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/7.394, allocations: 3.25 kB / 3.65 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/7.395, allocations: 262.2 kB / 3.651 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/7.395, allocations: 6.312 kB / 3.651 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/7.396, allocations: 200.9 kB / 3.651 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/7.396, allocations: 46.78 kB / 3.651 GB, free: 102.8 MB / 0.7292 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 () * 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.0002017/7.396, allocations: 142.9 kB / 3.651 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/7.397, allocations: 105.1 kB / 3.651 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/7.398, allocations: 1.117 MB / 3.652 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/7.398, allocations: 7.688 kB / 3.652 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/7.398, allocations: 3.953 kB / 3.652 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/7.398, allocations: 3.938 kB / 3.652 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/7.402, allocations: 2.604 MB / 3.655 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/7.402, allocations: 3.938 kB / 3.655 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/7.403, allocations: 262.7 kB / 3.655 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/7.403, allocations: 7 kB / 3.655 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/7.403, allocations: 34.25 kB / 3.655 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000343/7.403, allocations: 1.191 MB / 3.656 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/7.403, allocations: 11.64 kB / 3.656 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/7.405, allocations: 1.383 MB / 3.658 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/7.406, allocations: 319.5 kB / 3.658 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/7.406, allocations: 19.84 kB / 3.658 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/7.408, allocations: 172.7 kB / 3.658 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/7.408, allocations: 62.44 kB / 3.658 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/7.408, allocations: 40.52 kB / 3.658 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000676/7.409, allocations: 0.5504 MB / 3.659 GB, free: 100.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/7.409, allocations: 0 / 3.659 GB, free: 100.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002403/7.411, allocations: 0.761 MB / 3.659 GB, free: 100.1 MB / 0.7292 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 () * 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.005663/7.417, allocations: 5.232 MB / 3.665 GB, free: 97.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002999/7.42, allocations: 1.677 MB / 3.666 GB, free: 97.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/7.42, allocations: 0 / 3.666 GB, free: 97.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009395/7.421, allocations: 0.5381 MB / 3.667 GB, free: 97.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/7.423, allocations: 0.4982 MB / 3.667 GB, free: 97.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/7.437, allocations: 2.624 MB / 3.67 GB, free: 96.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/7.438, allocations: 1.11 MB / 3.671 GB, free: 95.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002185/7.44, allocations: 487.6 kB / 3.671 GB, free: 95.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/7.441, allocations: 383.7 kB / 3.672 GB, free: 95.77 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/7.441, allocations: 0 / 3.672 GB, free: 95.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/7.532, allocations: 69.99 MB / 3.74 GB, free: 93.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/7.532, allocations: 240.4 kB / 3.74 GB, free: 93.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/11.51, allocations: 4 kB / 3.74 GB, free: 93.23 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)