Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_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.0008488/0.0008487, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008081/0.0008082, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7585/0.7585, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 11.94 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4312, allocations: 81.56 MB / 0.5831 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2325/0.6638, allocations: 195.2 MB / 0.7737 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.6756, allocations: 6.62 MB / 0.7802 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.6774, allocations: 39.75 kB / 0.7802 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.6799, allocations: 0.4967 MB / 0.7807 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00837/0.6883, allocations: 1.78 MB / 0.7825 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.6918, allocations: 0.9165 MB / 0.7834 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00485/0.6966, allocations: 3.198 MB / 0.7865 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.6985, allocations: 0.7921 MB / 0.7873 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.7032, allocations: 1.529 MB / 0.7888 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.7053, allocations: 0.8637 MB / 0.7896 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.7057, allocations: 48 kB / 0.7896 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.7101, allocations: 1.532 MB / 0.7911 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007133/0.7109, allocations: 346.7 kB / 0.7915 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008222/0.7117, allocations: 269.1 kB / 0.7917 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.7151, allocations: 1.707 MB / 0.7934 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7151, allocations: 0 / 0.7934 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7151, allocations: 0 / 0.7934 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.199e-05/0.7152, allocations: 0 / 0.7934 GB, free: 8.57 MB / 0.6231 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.005025/0.7202, allocations: 1.614 MB / 0.795 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.7203, allocations: 8.031 kB / 0.795 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004198/0.7207, allocations: 135.1 kB / 0.7951 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.7239, allocations: 0.5877 MB / 0.7957 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.7262, allocations: 0.922 MB / 0.7966 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005921/0.7268, allocations: 201.8 kB / 0.7968 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.727, allocations: 83.98 kB / 0.7968 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.7301, allocations: 1.268 MB / 0.7981 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.7301, allocations: 0 / 0.7981 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.7303, allocations: 35.95 kB / 0.7981 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.7303, allocations: 45.98 kB / 0.7982 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/0.7342, allocations: 1.608 MB / 0.7997 GB, free: 1.949 MB / 0.6231 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.008051/0.7423, allocations: 4.092 MB / 0.8037 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.7449, allocations: 1.047 MB / 0.8048 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.7465, allocations: 0.6943 MB / 0.8054 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.7477, allocations: 0.6399 MB / 0.8061 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.7477, allocations: 39.22 kB / 0.8061 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.996e-06/0.7478, allocations: 0 / 0.8061 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004963/0.7527, allocations: 1.914 MB / 0.808 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.7528, allocations: 60.06 kB / 0.808 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.7542, allocations: 0.823 MB / 0.8088 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.7543, allocations: 41.7 kB / 0.8089 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.7548, allocations: 432.6 kB / 0.8093 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.755, allocations: 268.1 kB / 0.8095 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.7551, allocations: 12 kB / 0.8095 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.7553, allocations: 341.9 kB / 0.8099 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.7567, allocations: 0.564 MB / 0.8104 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.7582, allocations: 0.695 MB / 0.8111 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.7597, allocations: 0.6177 MB / 0.8117 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7597, allocations: 0 / 0.8117 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003447/0.7632, allocations: 1.423 MB / 0.8131 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.7633, allocations: 152.8 kB / 0.8132 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.7634, allocations: 0 / 0.8132 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.7634, allocations: 4 kB / 0.8132 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.765, allocations: 287.6 kB / 0.8135 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008018/0.7658, allocations: 1.199 MB / 0.8147 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7672, allocations: 191.4 kB / 0.8149 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7673, allocations: 31.98 kB / 0.8149 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.7673, allocations: 0 / 0.8149 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003138/0.7705, allocations: 1.321 MB / 0.8162 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7705, allocations: 0 / 0.8162 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.7705, allocations: 7.953 kB / 0.8162 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.7717, allocations: 255.7 kB / 0.8164 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.7718, allocations: 4 kB / 0.8164 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.773, allocations: 198.6 kB / 0.8166 GB, free: 52 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7731, allocations: 35.98 kB / 0.8167 GB, free: 16 kB / 0.6387 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.3055/1.079, allocations: 365.8 kB / 0.817 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/1.079, allocations: 103.9 kB / 0.8171 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/1.083, allocations: 1.427 MB / 0.8185 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.083, allocations: 9.5 kB / 0.8185 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.083, allocations: 0.75 kB / 0.8185 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.083, allocations: 9.031 kB / 0.8185 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/1.089, allocations: 2.924 MB / 0.8214 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/1.089, allocations: 3.547 kB / 0.8214 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.09, allocations: 254.6 kB / 0.8216 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/1.09, allocations: 9.031 kB / 0.8216 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/1.09, allocations: 22.36 kB / 0.8217 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004061/1.09, allocations: 1.198 MB / 0.8228 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.09, allocations: 6.375 kB / 0.8228 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/1.094, allocations: 1.546 MB / 0.8243 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/1.094, allocations: 307.4 kB / 0.8246 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.094, allocations: 15.3 kB / 0.8247 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.096, allocations: 171.9 kB / 0.8248 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/1.096, allocations: 61.97 kB / 0.8249 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-05/1.096, allocations: 33.61 kB / 0.8249 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008234/1.097, allocations: 0.5609 MB / 0.8255 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.62e-07/1.097, allocations: 0 / 0.8255 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001444/1.098, allocations: 0.5357 MB / 0.826 GB, free: 215.6 MB / 0.6387 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.003677/1.102, allocations: 2.246 MB / 0.8282 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00522/1.107, allocations: 2.14 MB / 0.8303 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.107, allocations: 1 kB / 0.8303 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.109, allocations: 0.7076 MB / 0.831 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.112, allocations: 0.5168 MB / 0.8315 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.126, allocations: 6.936 MB / 0.8382 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/1.127, allocations: 1.092 MB / 0.8393 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001883/1.129, allocations: 394.4 kB / 0.8397 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/1.129, allocations: 389.6 kB / 0.84 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/1.129, allocations: 1.156 kB / 0.8401 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/1.17, allocations: 28.73 MB / 0.8681 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/1.17, allocations: 271 kB / 0.8684 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.686, allocations: 0 / 0.8684 GB, free: 184.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) Environment - environmentSimulation: