Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.58/2.58, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.712/1.712, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005236, allocations: 12 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3247, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 1.018/1.343, allocations: 176.6 MB / 0.7598 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01817/1.361, allocations: 6.967 MB / 0.7666 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/1.364, allocations: 39.69 kB / 0.7666 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004223/1.369, allocations: 0.7155 MB / 0.7673 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/1.38, allocations: 2.166 MB / 0.7694 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006297/1.387, allocations: 1.143 MB / 0.7705 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01043/1.397, allocations: 1.631 MB / 0.7721 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/1.4, allocations: 0.8245 MB / 0.7729 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/1.406, allocations: 1.316 MB / 0.7742 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/1.409, allocations: 0.6225 MB / 0.7748 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/1.409, allocations: 48 kB / 0.7749 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006614/1.416, allocations: 1.322 MB / 0.7762 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/1.417, allocations: 319 kB / 0.7765 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/1.418, allocations: 273.1 kB / 0.7767 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004998/1.423, allocations: 1.604 MB / 0.7783 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.423, allocations: 4 kB / 0.7783 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/1.423, allocations: 0 / 0.7783 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.355e-05/1.424, allocations: 0 / 0.7783 GB, free: 8.859 MB / 0.5919 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.008881/1.432, allocations: 1.585 MB / 0.7798 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/1.433, allocations: 8.031 kB / 0.7799 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006161/1.433, allocations: 135.1 kB / 0.78 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006125/1.439, allocations: 0.5877 MB / 0.7806 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/1.444, allocations: 0.9258 MB / 0.7815 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/1.445, allocations: 196.7 kB / 0.7816 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004611/1.45, allocations: 87.98 kB / 0.7817 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00613/1.456, allocations: 1.264 MB / 0.783 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/1.456, allocations: 4 kB / 0.783 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/1.456, allocations: 32 kB / 0.783 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/1.456, allocations: 49.94 kB / 0.7831 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/1.469, allocations: 1.604 MB / 0.7846 GB, free: 2.273 MB / 0.5919 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.01505/1.484, allocations: 4.087 MB / 0.7886 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005614/1.49, allocations: 1.06 MB / 0.7896 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/1.492, allocations: 298.9 kB / 0.7899 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/1.492, allocations: 47.16 kB / 0.79 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 5.059e-06/1.492, allocations: 0 / 0.79 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.01119/1.503, allocations: 1.902 MB / 0.7918 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/1.503, allocations: 60.06 kB / 0.7919 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/1.506, allocations: 0.8192 MB / 0.7927 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004037/1.506, allocations: 41.7 kB / 0.7927 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006974/1.507, allocations: 440.6 kB / 0.7931 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006169/1.508, allocations: 264.1 kB / 0.7934 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.508, allocations: 16 kB / 0.7934 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002322/1.508, allocations: 333.9 kB / 0.7937 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/1.512, allocations: 0.5679 MB / 0.7943 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/1.515, allocations: 0.6919 MB / 0.795 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/1.519, allocations: 0.6256 MB / 0.7956 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.519, allocations: 0 / 0.7956 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00771/1.526, allocations: 1.423 MB / 0.797 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005606/1.527, allocations: 0.5608 MB / 0.7975 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.527, allocations: 0 / 0.7975 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.452e-05/1.527, allocations: 12 kB / 0.7975 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/1.531, allocations: 283.6 kB / 0.7978 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/1.532, allocations: 1.195 MB / 0.799 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/1.535, allocations: 195.3 kB / 0.7991 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003492/1.535, allocations: 31.98 kB / 0.7992 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.536, allocations: 4 kB / 0.7992 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006776/1.542, allocations: 1.317 MB / 0.8005 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/1.542, allocations: 7.984 kB / 0.8005 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.542, allocations: 4 kB / 0.8005 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.545, allocations: 251.8 kB / 0.8007 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/1.545, allocations: 4 kB / 0.8007 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.548, allocations: 198.1 kB / 0.8009 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/1.548, allocations: 35.94 kB / 0.8009 GB, free: 1.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.001484/1.549, allocations: 389.4 kB / 0.8013 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/1.55, allocations: 102.7 kB / 0.8014 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00753/1.558, allocations: 1.422 MB / 0.8028 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/1.558, allocations: 4 kB / 0.8028 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.558, allocations: 4 kB / 0.8028 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/1.558, allocations: 7.922 kB / 0.8028 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.57, allocations: 2.986 MB / 0.8057 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/1.57, allocations: 4 kB / 0.8057 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.573, allocations: 260.2 kB / 0.806 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/1.573, allocations: 11.98 kB / 0.806 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/1.573, allocations: 23.98 kB / 0.806 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/1.574, allocations: 1.188 MB / 0.8072 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/1.574, allocations: 11.94 kB / 0.8072 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006893/1.581, allocations: 1.753 MB / 0.8089 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.582, allocations: 307.6 kB / 0.8092 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/1.583, allocations: 20 kB / 0.8092 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.586, allocations: 163.7 kB / 0.8094 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.586, allocations: 68.38 kB / 0.8094 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.586, allocations: 35.98 kB / 0.8095 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001712/1.588, allocations: 0.5583 MB / 0.81 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.71e-07/1.588, allocations: 0 / 0.81 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003593/1.591, allocations: 0.538 MB / 0.8105 GB, free: 6.809 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.009137/1.601, allocations: 3.632 MB / 0.8141 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.612, allocations: 2.139 MB / 0.8162 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.268e-05/1.612, allocations: 4.125 kB / 0.8162 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00388/1.616, allocations: 0.7067 MB / 0.8169 GB, free: 184 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/1.622, allocations: 0.4978 MB / 0.8174 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/1.634, allocations: 3.775 MB / 0.821 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.635, allocations: 1.114 MB / 0.8221 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003515/1.638, allocations: 387.5 kB / 0.8225 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.639, allocations: 387.3 kB / 0.8229 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of SimCode: time 1.683e-06/1.639, allocations: 0 / 0.8229 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.618/5.258, allocations: 28.26 MB / 0.8505 GB, free: 14.14 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000496/5.258, allocations: 279.3 kB / 0.8507 GB, free: 13.78 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.711/10.97, allocations: 0 / 0.8507 GB, free: 13.78 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: