Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.001074/0.001074, allocations: 91.77 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.001333/0.001334, 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.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7215/0.7215, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 9.094 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4796, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2098/0.6895, allocations: 195.2 MB / 0.7737 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.7005, allocations: 6.617 MB / 0.7802 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.702, allocations: 35.75 kB / 0.7802 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.7037, allocations: 0.4967 MB / 0.7807 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.7095, allocations: 1.775 MB / 0.7824 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.7125, allocations: 0.9229 MB / 0.7833 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.7174, allocations: 3.198 MB / 0.7865 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.7189, allocations: 0.7999 MB / 0.7872 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.7229, allocations: 1.525 MB / 0.7887 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.7245, allocations: 0.8598 MB / 0.7896 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.7246, allocations: 44 kB / 0.7896 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.7284, allocations: 1.544 MB / 0.7911 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004399/0.7289, allocations: 342.7 kB / 0.7915 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.7293, allocations: 269.1 kB / 0.7917 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.7315, allocations: 1.703 MB / 0.7934 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7316, allocations: 0 / 0.7934 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7316, allocations: 4 kB / 0.7934 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.7316, allocations: 0 / 0.7934 GB, free: 8.699 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.003723/0.7353, allocations: 1.618 MB / 0.795 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7354, allocations: 12.03 kB / 0.795 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.7355, allocations: 131.1 kB / 0.7951 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.7384, allocations: 0.5839 MB / 0.7957 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.7401, allocations: 0.9258 MB / 0.7966 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/0.7407, allocations: 197.9 kB / 0.7968 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.7409, allocations: 84 kB / 0.7968 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.7433, allocations: 1.264 MB / 0.7981 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.7434, allocations: 3.953 kB / 0.7981 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.7435, allocations: 32 kB / 0.7981 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.7435, allocations: 41.98 kB / 0.7981 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.747, allocations: 1.62 MB / 0.7997 GB, free: 2.074 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.005896/0.7529, allocations: 4.088 MB / 0.8037 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.7552, allocations: 1.044 MB / 0.8047 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.7566, allocations: 0.6943 MB / 0.8054 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.7577, allocations: 0.6399 MB / 0.806 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.7578, allocations: 39.22 kB / 0.8061 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.7578, allocations: 0 / 0.8061 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004502/0.7623, allocations: 1.914 MB / 0.8079 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.7624, allocations: 60.06 kB / 0.808 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/0.7634, allocations: 0.8153 MB / 0.8088 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.7635, allocations: 49.64 kB / 0.8088 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.7638, allocations: 432.6 kB / 0.8093 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.764, allocations: 272.1 kB / 0.8095 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.7641, allocations: 12 kB / 0.8095 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.7642, allocations: 337.8 kB / 0.8099 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7654, allocations: 0.5602 MB / 0.8104 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.7668, allocations: 0.695 MB / 0.8111 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.7682, allocations: 0.6255 MB / 0.8117 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7682, allocations: 0 / 0.8117 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003094/0.7713, allocations: 1.423 MB / 0.8131 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.7714, allocations: 152.8 kB / 0.8132 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7714, allocations: 4 kB / 0.8132 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.7715, allocations: 8.031 kB / 0.8132 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.773, allocations: 275.7 kB / 0.8135 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006495/0.7736, allocations: 1.199 MB / 0.8147 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.7747, allocations: 198.7 kB / 0.8149 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.7748, allocations: 31.98 kB / 0.8149 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.7748, allocations: 5.875 kB / 0.8149 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002848/0.7777, allocations: 1.317 MB / 0.8162 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7777, allocations: 7.938 kB / 0.8162 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.7777, allocations: 8 kB / 0.8162 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.7789, allocations: 247.8 kB / 0.8164 GB, free: 380 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7789, allocations: 4 kB / 0.8164 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.7799, allocations: 195.1 kB / 0.8166 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.78, allocations: 31.98 kB / 0.8167 GB, free: 148 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.3258/1.106, allocations: 373.2 kB / 0.817 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/1.106, allocations: 105 kB / 0.8171 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/1.11, allocations: 1.43 MB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.11, allocations: 11.56 kB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.11, allocations: 1.75 kB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.11, allocations: 7.531 kB / 0.8185 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/1.116, allocations: 2.92 MB / 0.8214 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.116, allocations: 6.375 kB / 0.8214 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.117, allocations: 253.9 kB / 0.8216 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.117, allocations: 6.219 kB / 0.8216 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/1.118, allocations: 29.55 kB / 0.8217 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004244/1.118, allocations: 1.191 MB / 0.8228 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.118, allocations: 9.375 kB / 0.8228 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/1.121, allocations: 1.539 MB / 0.8243 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/1.122, allocations: 307.3 kB / 0.8246 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.122, allocations: 20.67 kB / 0.8246 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.123, allocations: 158.5 kB / 0.8248 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.124, allocations: 65.17 kB / 0.8249 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/1.124, allocations: 38.7 kB / 0.8249 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009079/1.125, allocations: 0.5565 MB / 0.8254 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.125, allocations: 3.359 kB / 0.8254 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001579/1.126, allocations: 0.5371 MB / 0.826 GB, free: 215.5 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.003809/1.13, allocations: 2.239 MB / 0.8282 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005135/1.135, allocations: 2.153 MB / 0.8303 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.135, allocations: 2.5 kB / 0.8303 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.137, allocations: 0.7016 MB / 0.8309 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.002549/1.139, allocations: 0.5135 MB / 0.8314 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.153, allocations: 6.936 MB / 0.8382 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/1.154, allocations: 1.092 MB / 0.8393 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001655/1.155, allocations: 398.3 kB / 0.8397 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/1.156, allocations: 389.3 kB / 0.84 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/1.156, allocations: 0 / 0.84 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/1.194, allocations: 28.71 MB / 0.8681 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/1.194, allocations: 251.6 kB / 0.8683 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.722, allocations: 4.062 kB / 0.8683 GB, free: 184.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: