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.8644/0.8644, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001169/0.001169, allocations: 184.6 kB / 182.2 MB, free: 9.445 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.725/1.725, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009196/0.0009193, allocations: 103.8 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 283.6 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.27e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5597, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.451/6.011, allocations: 1.855 GB / 2.613 GB, free: 203.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/6.012, allocations: 86.86 kB / 2.613 GB, free: 203.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.141/10.15, allocations: 0.9985 GB / 3.611 GB, free: 103 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.786e-06/10.15, allocations: 0 / 3.611 GB, free: 103 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001239/10.15, allocations: 31.84 kB / 3.611 GB, free: 103 MB / 0.7136 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.00717/10.16, allocations: 1.784 MB / 3.613 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/10.16, allocations: 13.03 kB / 3.613 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/10.16, allocations: 0.5431 MB / 3.614 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/10.17, allocations: 1.079 MB / 3.615 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00063/10.17, allocations: 160.4 kB / 3.615 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/10.17, allocations: 56.88 kB / 3.615 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00171/10.17, allocations: 0.9909 MB / 3.616 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/10.17, allocations: 1.031 MB / 3.617 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/10.17, allocations: 2.156 kB / 3.617 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/10.17, allocations: 3.438 kB / 3.617 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/10.17, allocations: 49.03 kB / 3.617 GB, free: 102.1 MB / 0.7136 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.007008/10.18, allocations: 4.027 MB / 3.621 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/10.18, allocations: 0.7287 MB / 3.622 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/10.18, allocations: 494.8 kB / 3.622 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/10.18, allocations: 0.6095 MB / 3.623 GB, free: 100 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/10.18, allocations: 48.36 kB / 3.623 GB, free: 99.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.246e-06/10.18, allocations: 0.5312 kB / 3.623 GB, free: 99.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002683/10.18, allocations: 1.138 MB / 3.624 GB, free: 99.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/10.18, allocations: 59.41 kB / 3.624 GB, free: 99.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/10.18, allocations: 0.5606 MB / 3.624 GB, free: 99.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/10.18, allocations: 29.42 kB / 3.624 GB, free: 99.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/10.18, allocations: 462.2 kB / 3.625 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/10.19, allocations: 239.9 kB / 3.625 GB, free: 99.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/10.19, allocations: 3.25 kB / 3.625 GB, free: 99.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/10.19, allocations: 339.8 kB / 3.625 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/10.19, allocations: 396.1 kB / 3.626 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/10.19, allocations: 0.5228 MB / 3.626 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/10.19, allocations: 0.5813 MB / 3.627 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/10.19, allocations: 0.6562 kB / 3.627 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002064/10.19, allocations: 1.174 MB / 3.628 GB, free: 98.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/10.19, allocations: 489.6 kB / 3.628 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/10.19, allocations: 3.188 kB / 3.628 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/10.19, allocations: 3.969 kB / 3.628 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/10.19, allocations: 277.6 kB / 3.629 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006578/10.19, allocations: 1.203 MB / 3.63 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/10.19, allocations: 180.4 kB / 3.63 GB, free: 97.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/10.19, allocations: 36.55 kB / 3.63 GB, free: 97.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/10.19, allocations: 5.094 kB / 3.63 GB, free: 97.19 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/10.2, allocations: 1.065 MB / 3.631 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/10.2, allocations: 3.906 kB / 3.631 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/10.2, allocations: 3.75 kB / 3.631 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/10.2, allocations: 255.4 kB / 3.631 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/10.2, allocations: 7.594 kB / 3.631 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/10.2, allocations: 168.6 kB / 3.632 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/10.2, allocations: 37.83 kB / 3.632 GB, free: 97.16 MB / 0.7136 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.0002858/10.2, allocations: 120 kB / 3.632 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002651/10.2, allocations: 1.082 MB / 3.633 GB, free: 96.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/10.2, allocations: 95 kB / 3.633 GB, free: 96.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/10.2, allocations: 1.199 MB / 3.634 GB, free: 96.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/10.2, allocations: 8.469 kB / 3.634 GB, free: 96.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/10.2, allocations: 0 / 3.634 GB, free: 96.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/10.2, allocations: 7.609 kB / 3.634 GB, free: 96.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/10.21, allocations: 2.581 MB / 3.637 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/10.21, allocations: 3.938 kB / 3.637 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/10.21, allocations: 257 kB / 3.637 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/10.21, allocations: 7.375 kB / 3.637 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/10.21, allocations: 19.61 kB / 3.637 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004511/10.21, allocations: 1.193 MB / 3.638 GB, free: 95.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/10.21, allocations: 9.469 kB / 3.638 GB, free: 95.24 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/10.21, allocations: 1.484 MB / 3.64 GB, free: 94.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/10.21, allocations: 310.9 kB / 3.64 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/10.21, allocations: 7.562 kB / 3.64 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/10.21, allocations: 157.6 kB / 3.64 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/10.21, allocations: 63.86 kB / 3.64 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/10.21, allocations: 36.42 kB / 3.64 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005536/10.22, allocations: 446.2 kB / 3.64 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/10.22, allocations: 0 / 3.64 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002182/10.22, allocations: 0.6791 MB / 3.641 GB, free: 94.39 MB / 0.7136 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.00625/10.22, allocations: 5.592 MB / 3.647 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002832/10.23, allocations: 1.605 MB / 3.648 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/10.23, allocations: 0 / 3.648 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/10.23, allocations: 0.5186 MB / 3.649 GB, free: 91.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/10.23, allocations: 428.6 kB / 3.649 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/10.25, allocations: 2.532 MB / 3.652 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/10.25, allocations: 1.122 MB / 3.653 GB, free: 90.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002518/10.25, allocations: 456.3 kB / 3.653 GB, free: 90.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/10.25, allocations: 373.5 kB / 3.653 GB, free: 90.15 MB / 0.7136 GB Notification: Performance of SimCode: time 2.175e-06/10.25, allocations: 0 / 3.653 GB, free: 90.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/10.33, allocations: 43.57 MB / 3.696 GB, free: 89.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/10.33, allocations: 197.8 kB / 3.696 GB, free: 88.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.56/13.89, allocations: 0 / 3.696 GB, free: 88.82 MB / 0.7136 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)