Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.6938/0.6938, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009622/0.0009622, allocations: 182.8 kB / 187.3 MB, free: 11.88 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.224/1.224, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0007918/0.0007918, allocations: 97.47 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001641/0.001641, allocations: 276.4 kB / 0.5939 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.963e-05, allocations: 4 kB / 0.6835 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.494/3.82, allocations: 1.856 GB / 2.62 GB, free: 191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/3.82, allocations: 83.95 kB / 2.621 GB, free: 190.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.319/7.139, allocations: 1.01 GB / 3.631 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/7.139, allocations: 0 / 3.631 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.594e-05/7.139, allocations: 34.5 kB / 3.631 GB, free: 107.9 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.005384/7.145, allocations: 1.789 MB / 3.632 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/7.145, allocations: 12.33 kB / 3.632 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/7.145, allocations: 128.9 kB / 3.632 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/7.148, allocations: 0.552 MB / 3.633 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/7.15, allocations: 1.068 MB / 3.634 GB, free: 107.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/7.151, allocations: 201 kB / 3.634 GB, free: 107.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/7.151, allocations: 85.88 kB / 3.634 GB, free: 107.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/7.152, allocations: 1.138 MB / 3.635 GB, free: 107 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/7.152, allocations: 2.438 kB / 3.635 GB, free: 107 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/7.153, allocations: 33.19 kB / 3.635 GB, free: 107 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/7.153, allocations: 45.27 kB / 3.635 GB, free: 107 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/7.154, allocations: 1.113 MB / 3.637 GB, free: 107 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.005614/7.16, allocations: 4.206 MB / 3.641 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/7.161, allocations: 0.7604 MB / 3.641 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/7.162, allocations: 0.509 MB / 3.642 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008203/7.162, allocations: 0.6053 MB / 3.643 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/7.162, allocations: 46.69 kB / 3.643 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 4.067e-06/7.162, allocations: 2.75 kB / 3.643 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001773/7.164, allocations: 1.02 MB / 3.644 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/7.164, allocations: 63.7 kB / 3.644 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/7.165, allocations: 0.7008 MB / 3.644 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/7.165, allocations: 40.3 kB / 3.644 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/7.165, allocations: 449.1 kB / 3.645 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/7.166, allocations: 266.2 kB / 3.645 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/7.166, allocations: 14.03 kB / 3.645 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/7.166, allocations: 330.7 kB / 3.645 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/7.166, allocations: 409 kB / 3.646 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/7.167, allocations: 0.5496 MB / 3.646 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/7.167, allocations: 461.5 kB / 3.647 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/7.167, allocations: 0 / 3.647 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00153/7.169, allocations: 1.094 MB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/7.169, allocations: 486.8 kB / 3.648 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/7.169, allocations: 3.344 kB / 3.648 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/7.169, allocations: 2.969 kB / 3.648 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/7.171, allocations: 279.7 kB / 3.649 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004823/7.171, allocations: 1.194 MB / 3.65 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/7.172, allocations: 202 kB / 3.65 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/7.173, allocations: 39.59 kB / 3.65 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/7.173, allocations: 6.562 kB / 3.65 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/7.174, allocations: 0.9907 MB / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/7.174, allocations: 0 / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/7.174, allocations: 3.875 kB / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/7.175, allocations: 261 kB / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/7.175, allocations: 6.672 kB / 3.651 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/7.176, allocations: 203.5 kB / 3.651 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/7.176, allocations: 40.22 kB / 3.651 GB, free: 101.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.0002211/7.177, allocations: 154 kB / 3.652 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/7.177, allocations: 102.2 kB / 3.652 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/7.179, allocations: 1.116 MB / 3.653 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/7.179, allocations: 7.25 kB / 3.653 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/7.179, allocations: 0 / 3.653 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/7.179, allocations: 9.141 kB / 3.653 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/7.182, allocations: 2.602 MB / 3.655 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/7.182, allocations: 6.031 kB / 3.655 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/7.183, allocations: 259.8 kB / 3.656 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/7.183, allocations: 15.58 kB / 3.656 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/7.183, allocations: 26.08 kB / 3.656 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003775/7.184, allocations: 1.197 MB / 3.657 GB, free: 100 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/7.184, allocations: 3.812 kB / 3.657 GB, free: 100 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/7.185, allocations: 1.389 MB / 3.658 GB, free: 99.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/7.186, allocations: 331.9 kB / 3.658 GB, free: 99.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/7.186, allocations: 15.66 kB / 3.658 GB, free: 99.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/7.187, allocations: 166 kB / 3.659 GB, free: 99.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/7.187, allocations: 62.11 kB / 3.659 GB, free: 99.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/7.188, allocations: 39.83 kB / 3.659 GB, free: 99.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006397/7.188, allocations: 0.5505 MB / 3.659 GB, free: 99.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.262e-06/7.188, allocations: 0 / 3.659 GB, free: 99.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002498/7.191, allocations: 0.7592 MB / 3.66 GB, free: 99.12 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.005729/7.196, allocations: 5.239 MB / 3.665 GB, free: 96.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00277/7.199, allocations: 1.678 MB / 3.667 GB, free: 96.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/7.199, allocations: 0 / 3.667 GB, free: 96.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008357/7.2, allocations: 0.5409 MB / 3.667 GB, free: 96.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/7.203, allocations: 0.4976 MB / 3.668 GB, free: 96.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/7.217, allocations: 2.616 MB / 3.67 GB, free: 95.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/7.218, allocations: 1.118 MB / 3.671 GB, free: 94.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002261/7.22, allocations: 480.7 kB / 3.672 GB, free: 94.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/7.22, allocations: 383.8 kB / 3.672 GB, free: 94.88 MB / 0.7292 GB Notification: Performance of SimCode: time 1.352e-06/7.22, allocations: 0 / 3.672 GB, free: 94.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/7.324, allocations: 70.02 MB / 3.741 GB, free: 93.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/7.325, allocations: 262.2 kB / 3.741 GB, free: 92.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.101/11.43, allocations: 0 / 3.741 GB, free: 92.81 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)