Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001508/0.001508, allocations: 99.86 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.002243/0.002243, allocations: 177.3 kB / 15.94 MB, free: 228 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.56/2.56, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.675/1.675, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005734/0.0005736, allocations: 12.61 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2736, allocations: 82.31 MB / 0.5873 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.9655/1.239, allocations: 176.6 MB / 0.7598 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01824/1.257, allocations: 6.965 MB / 0.7666 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/1.26, allocations: 39.69 kB / 0.7666 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00406/1.264, allocations: 0.7195 MB / 0.7673 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.277, allocations: 2.17 MB / 0.7694 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006101/1.283, allocations: 1.133 MB / 0.7705 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006246/1.289, allocations: 1.631 MB / 0.7721 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/1.293, allocations: 0.8361 MB / 0.7729 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/1.303, allocations: 1.305 MB / 0.7742 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/1.305, allocations: 0.6225 MB / 0.7748 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004712/1.306, allocations: 48 kB / 0.7749 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/1.312, allocations: 1.334 MB / 0.7762 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/1.313, allocations: 315 kB / 0.7765 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/1.314, allocations: 265.1 kB / 0.7767 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005/1.319, allocations: 1.604 MB / 0.7783 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.319, allocations: 4 kB / 0.7783 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.709e-06/1.319, allocations: 0 / 0.7783 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.192e-05/1.319, allocations: 0 / 0.7783 GB, free: 8.793 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.007752/1.327, allocations: 1.577 MB / 0.7798 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/1.327, allocations: 15.97 kB / 0.7798 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006047/1.328, allocations: 131.1 kB / 0.78 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/1.333, allocations: 0.5945 MB / 0.7806 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/1.338, allocations: 0.922 MB / 0.7815 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/1.339, allocations: 193.9 kB / 0.7816 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/1.339, allocations: 87.98 kB / 0.7817 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/1.345, allocations: 1.26 MB / 0.783 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/1.345, allocations: 4 kB / 0.783 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/1.346, allocations: 32 kB / 0.783 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.346, allocations: 49.94 kB / 0.783 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007028/1.353, allocations: 1.612 MB / 0.7846 GB, free: 2.207 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.01411/1.367, allocations: 4.083 MB / 0.7886 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/1.371, allocations: 1.069 MB / 0.7896 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.372, allocations: 294.9 kB / 0.7899 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/1.372, allocations: 43.16 kB / 0.79 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 4.599e-06/1.372, allocations: 0 / 0.79 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.007706/1.38, allocations: 1.906 MB / 0.7918 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/1.38, allocations: 60.06 kB / 0.7919 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.382, allocations: 0.8192 MB / 0.7927 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/1.382, allocations: 45.64 kB / 0.7927 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/1.383, allocations: 440.6 kB / 0.7931 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/1.383, allocations: 268.1 kB / 0.7934 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/1.383, allocations: 12 kB / 0.7934 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002209/1.384, allocations: 337.9 kB / 0.7937 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.386, allocations: 0.5602 MB / 0.7943 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/1.388, allocations: 0.6958 MB / 0.795 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/1.391, allocations: 0.6217 MB / 0.7956 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.391, allocations: 0 / 0.7956 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006952/1.398, allocations: 1.423 MB / 0.797 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000489/1.398, allocations: 0.5608 MB / 0.7975 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.398, allocations: 4 kB / 0.7975 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/1.398, allocations: 8 kB / 0.7975 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/1.401, allocations: 279.3 kB / 0.7978 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/1.403, allocations: 1.199 MB / 0.799 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/1.406, allocations: 191.3 kB / 0.7991 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/1.406, allocations: 31.98 kB / 0.7992 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.406, allocations: 6.344 kB / 0.7992 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005017/1.411, allocations: 1.329 MB / 0.8005 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.411, allocations: 0 / 0.8005 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.411, allocations: 4 kB / 0.8005 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.413, allocations: 247.8 kB / 0.8007 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/1.413, allocations: 4 kB / 0.8007 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/1.415, allocations: 201.6 kB / 0.8009 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/1.416, allocations: 39.94 kB / 0.8009 GB, free: 0.9453 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.001274/1.417, allocations: 384.9 kB / 0.8013 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/1.418, allocations: 106.7 kB / 0.8014 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00644/1.424, allocations: 1.425 MB / 0.8028 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.424, allocations: 8 kB / 0.8028 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.424, allocations: 0.875 kB / 0.8028 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.424, allocations: 3.984 kB / 0.8028 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/1.436, allocations: 2.985 MB / 0.8057 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/1.436, allocations: 4 kB / 0.8057 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.438, allocations: 260.2 kB / 0.806 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.145e-05/1.438, allocations: 8 kB / 0.806 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.439, allocations: 23.98 kB / 0.806 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/1.44, allocations: 1.195 MB / 0.8072 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/1.44, allocations: 7.938 kB / 0.8072 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007074/1.447, allocations: 1.746 MB / 0.8089 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.448, allocations: 315.5 kB / 0.8092 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/1.449, allocations: 16 kB / 0.8092 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.451, allocations: 167.8 kB / 0.8094 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/1.452, allocations: 64.38 kB / 0.8094 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.452, allocations: 35.97 kB / 0.8095 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001769/1.454, allocations: 0.5583 MB / 0.81 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/1.454, allocations: 0 / 0.81 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003142/1.457, allocations: 0.5341 MB / 0.8105 GB, free: 6.75 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.009204/1.466, allocations: 3.63 MB / 0.8141 GB, free: 3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009466/1.476, allocations: 2.151 MB / 0.8162 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.476, allocations: 0 / 0.8162 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0033/1.479, allocations: 0.7029 MB / 0.8169 GB, free: 124 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004872/1.484, allocations: 0.5036 MB / 0.8174 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/1.497, allocations: 3.772 MB / 0.821 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.499, allocations: 1.114 MB / 0.8221 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003464/1.502, allocations: 387.5 kB / 0.8225 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.504, allocations: 398.2 kB / 0.8229 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of SimCode: time 2.735e-06/1.504, allocations: 0 / 0.8229 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/1.737, allocations: 28.23 MB / 0.8505 GB, free: 14.06 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005408/1.738, allocations: 270.5 kB / 0.8507 GB, free: 13.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.422/7.16, allocations: 3.094 kB / 0.8507 GB, free: 13.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) Environment - environmentSimulation: