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: translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7717/0.7717, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 183.3 kB / 191.5 MB, free: 5.758 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.444/1.444, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.0008923/0.0008925, allocations: 104.2 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 273.2 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004955, allocations: 16 kB / 0.6929 GB, free: 2.285 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4459, allocations: 82.77 MB / 0.7737 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/5.279, allocations: 1.856 GB / 2.63 GB, free: 167.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/5.279, allocations: 92.33 kB / 2.63 GB, free: 167.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.683/8.962, allocations: 1.01 GB / 3.64 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.754e-06/8.962, allocations: 3.844 kB / 3.64 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.916e-05/8.962, allocations: 40.45 kB / 3.64 GB, free: 107.3 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.005971/8.968, allocations: 1.954 MB / 3.642 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/8.968, allocations: 13.62 kB / 3.642 GB, free: 106.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/8.971, allocations: 0.549 MB / 3.643 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/8.974, allocations: 1.08 MB / 3.644 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006043/8.975, allocations: 196.9 kB / 3.644 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/8.975, allocations: 84.75 kB / 3.644 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/8.977, allocations: 1.344 MB / 3.645 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/8.978, allocations: 0 / 3.645 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/8.978, allocations: 33.75 kB / 3.645 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/8.978, allocations: 47.28 kB / 3.645 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/8.981, allocations: 1.502 MB / 3.647 GB, free: 106.3 MB / 0.7292 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.006371/8.987, allocations: 4.194 MB / 3.651 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/8.99, allocations: 1.071 MB / 3.652 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/8.991, allocations: 0.6092 MB / 3.653 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/8.991, allocations: 44.81 kB / 3.653 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/8.991, allocations: 0 / 3.653 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.004783/8.995, allocations: 1.982 MB / 3.655 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/8.996, allocations: 64.73 kB / 3.655 GB, free: 104 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/8.996, allocations: 0.7101 MB / 3.655 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/8.997, allocations: 46.39 kB / 3.655 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/8.997, allocations: 443.1 kB / 3.656 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/8.997, allocations: 267.8 kB / 3.656 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/8.997, allocations: 14.16 kB / 3.656 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/8.997, allocations: 334.9 kB / 3.656 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/8.999, allocations: 0.5902 MB / 3.657 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/9, allocations: 0.74 MB / 3.658 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/9.001, allocations: 0.6432 MB / 3.658 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/9.001, allocations: 0 / 3.658 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003579/9.005, allocations: 1.476 MB / 3.66 GB, free: 103 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/9.005, allocations: 490.2 kB / 3.66 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/9.005, allocations: 0 / 3.66 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/9.005, allocations: 3.281 kB / 3.66 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/9.007, allocations: 274.7 kB / 3.66 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005208/9.007, allocations: 1.196 MB / 3.662 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/9.009, allocations: 203.2 kB / 3.662 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/9.009, allocations: 39.62 kB / 3.662 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/9.009, allocations: 4.406 kB / 3.662 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003096/9.012, allocations: 1.375 MB / 3.663 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/9.012, allocations: 6.719 kB / 3.663 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/9.012, allocations: 3.969 kB / 3.663 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/9.014, allocations: 257 kB / 3.663 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/9.014, allocations: 12.17 kB / 3.663 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/9.015, allocations: 194.3 kB / 3.664 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/9.015, allocations: 39 kB / 3.664 GB, free: 101.2 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 () * 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.0006118/9.016, allocations: 372.6 kB / 3.664 GB, free: 101 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/9.016, allocations: 105.6 kB / 3.664 GB, free: 101 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/9.019, allocations: 1.497 MB / 3.666 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/9.019, allocations: 8.781 kB / 3.666 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/9.019, allocations: 3.953 kB / 3.666 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/9.019, allocations: 3.938 kB / 3.666 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/9.025, allocations: 2.993 MB / 3.669 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/9.025, allocations: 3.906 kB / 3.669 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/9.026, allocations: 263.4 kB / 3.669 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/9.026, allocations: 11.8 kB / 3.669 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/9.026, allocations: 29.77 kB / 3.669 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003749/9.026, allocations: 1.191 MB / 3.67 GB, free: 99.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/9.026, allocations: 9.828 kB / 3.67 GB, free: 99.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/9.03, allocations: 1.764 MB / 3.672 GB, free: 98.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006224/9.03, allocations: 317.6 kB / 3.672 GB, free: 98.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/9.03, allocations: 14.25 kB / 3.672 GB, free: 98.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/9.032, allocations: 168.7 kB / 3.672 GB, free: 98.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/9.032, allocations: 65.94 kB / 3.672 GB, free: 98.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/9.032, allocations: 38.45 kB / 3.672 GB, free: 98.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006421/9.033, allocations: 0.5606 MB / 3.673 GB, free: 98.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/9.033, allocations: 2.938 kB / 3.673 GB, free: 98.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002075/9.035, allocations: 0.7606 MB / 3.674 GB, free: 98.42 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 () * 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.00276/9.037, allocations: 2.372 MB / 3.676 GB, free: 97.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004855/9.042, allocations: 2.215 MB / 3.678 GB, free: 97.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/9.042, allocations: 3.781 kB / 3.678 GB, free: 97.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/9.044, allocations: 0.7254 MB / 3.679 GB, free: 97.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/9.046, allocations: 0.4938 MB / 3.679 GB, free: 97.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/9.061, allocations: 3.294 MB / 3.683 GB, free: 96.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/9.062, allocations: 1.114 MB / 3.684 GB, free: 95.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001891/9.064, allocations: 416.3 kB / 3.684 GB, free: 95.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/9.064, allocations: 92.12 kB / 3.684 GB, free: 95.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/9.064, allocations: 0 / 3.684 GB, free: 95.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.05839/9.122, allocations: 46.01 MB / 3.729 GB, free: 93.83 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)