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.005053/0.005053, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001141/0.001141, allocations: 196.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 70.97 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1769, allocations: 80.22 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6661/0.843, allocations: 214.2 MB / 0.8683 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.8536, allocations: 7.04 MB / 0.8752 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.856, allocations: 42.78 kB / 0.8753 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.8582, allocations: 0.7871 MB / 0.876 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.8657, allocations: 2.503 MB / 0.8785 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.869, allocations: 1.172 MB / 0.8796 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.8734, allocations: 2.821 MB / 0.8824 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.8752, allocations: 1.093 MB / 0.8834 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004526/0.8797, allocations: 2.009 MB / 0.8854 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.882, allocations: 0.9385 MB / 0.8863 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.8822, allocations: 118.1 kB / 0.8864 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.887, allocations: 2.452 MB / 0.8888 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.8874, allocations: 426.5 kB / 0.8892 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008812/0.8883, allocations: 0.6886 MB / 0.8899 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.893, allocations: 2.496 MB / 0.8923 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.893, allocations: 6.438 kB / 0.8923 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.569e-06/0.893, allocations: 0 / 0.8923 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.893, allocations: 7.5 kB / 0.8923 GB, free: 15.85 MB / 0.6544 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.004587/0.8976, allocations: 1.845 MB / 0.8941 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8977, allocations: 7.75 kB / 0.8942 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.8979, allocations: 133.7 kB / 0.8943 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/0.9009, allocations: 0.5329 MB / 0.8948 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.9028, allocations: 1.001 MB / 0.8958 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.9029, allocations: 78.2 kB / 0.8959 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.903, allocations: 81.59 kB / 0.8959 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/0.9056, allocations: 1.229 MB / 0.8971 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.9056, allocations: 0 / 0.8971 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9057, allocations: 29.81 kB / 0.8972 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.9058, allocations: 47.41 kB / 0.8972 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/0.9092, allocations: 1.528 MB / 0.8987 GB, free: 13.02 MB / 0.6544 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.006735/0.916, allocations: 4.053 MB / 0.9027 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.9183, allocations: 0.964 MB / 0.9036 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.9197, allocations: 0.6514 MB / 0.9042 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.9208, allocations: 0.6111 MB / 0.9048 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.9209, allocations: 44.47 kB / 0.9049 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.9209, allocations: 0 / 0.9049 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.004754/0.9257, allocations: 1.786 MB / 0.9066 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.9257, allocations: 59.78 kB / 0.9067 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.927, allocations: 0.8193 MB / 0.9075 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.9271, allocations: 42.73 kB / 0.9075 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.9275, allocations: 440.4 kB / 0.9079 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.9277, allocations: 261.9 kB / 0.9082 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.9281, allocations: 160.9 kB / 0.9083 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9282, allocations: 333.5 kB / 0.9087 GB, free: 6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.9295, allocations: 0.5302 MB / 0.9092 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.931, allocations: 0.6538 MB / 0.9098 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.9335, allocations: 1.135 MB / 0.9109 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9335, allocations: 0 / 0.9109 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003187/0.9367, allocations: 1.336 MB / 0.9122 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.9368, allocations: 36.47 kB / 0.9123 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9368, allocations: 5.281 kB / 0.9123 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.9368, allocations: 4.188 kB / 0.9123 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.9384, allocations: 262.9 kB / 0.9125 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007553/0.9392, allocations: 1.196 MB / 0.9137 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.9404, allocations: 142 kB / 0.9138 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.9405, allocations: 39.98 kB / 0.9139 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001669/0.9422, allocations: 0.7562 MB / 0.9146 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/0.9436, allocations: 0.6614 MB / 0.9152 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002504/0.9461, allocations: 1.121 MB / 0.9163 GB, free: 60 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.9461, allocations: 0 / 0.9163 GB, free: 60 kB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003179/0.9493, allocations: 1.337 MB / 0.9176 GB, free: 14.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.9494, allocations: 39.56 kB / 0.9177 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9494, allocations: 0 / 0.9177 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.9494, allocations: 4 kB / 0.9177 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.9506, allocations: 238.1 kB / 0.9179 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.9506, allocations: 4.938 kB / 0.9179 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.9518, allocations: 131.4 kB / 0.918 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.9519, allocations: 31.98 kB / 0.9181 GB, free: 14.28 MB / 0.67 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.9522, allocations: 224 kB / 0.9183 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.9525, allocations: 106.7 kB / 0.9184 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.9557, allocations: 1.343 MB / 0.9197 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9557, allocations: 4 kB / 0.9197 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9557, allocations: 7.938 kB / 0.9197 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.9557, allocations: 3.984 kB / 0.9197 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.961, allocations: 2.834 MB / 0.9225 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.961, allocations: 4 kB / 0.9225 GB, free: 9.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.9622, allocations: 231.9 kB / 0.9227 GB, free: 9.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.9623, allocations: 7.984 kB / 0.9227 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.9623, allocations: 27.98 kB / 0.9227 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.9629, allocations: 1.193 MB / 0.9239 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.963, allocations: 6.438 kB / 0.9239 GB, free: 8.207 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.9661, allocations: 1.454 MB / 0.9253 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/0.9666, allocations: 307.5 kB / 0.9256 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.9668, allocations: 16 kB / 0.9256 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.9678, allocations: 106.4 kB / 0.9257 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.968, allocations: 62.95 kB / 0.9258 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.9681, allocations: 43.97 kB / 0.9258 GB, free: 6.152 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007727/0.9689, allocations: 0.5622 MB / 0.9264 GB, free: 5.578 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9689, allocations: 0 / 0.9264 GB, free: 5.578 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001451/0.9703, allocations: 0.538 MB / 0.9269 GB, free: 5.039 MB / 0.67 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003807/0.9741, allocations: 2.158 MB / 0.929 GB, free: 2.848 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004894/0.979, allocations: 2.025 MB / 0.931 GB, free: 0.832 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.9791, allocations: 0 / 0.931 GB, free: 0.832 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.9807, allocations: 0.663 MB / 0.9317 GB, free: 196 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.9831, allocations: 0.4908 MB / 0.9321 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.9985, allocations: 8.674 MB / 0.9406 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.9991, allocations: 1.098 MB / 0.9417 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001422/1.001, allocations: 395.5 kB / 0.9421 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/1.001, allocations: 387.3 kB / 0.9424 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/1.001, allocations: 4 kB / 0.9424 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/1.065, allocations: 29.23 MB / 0.971 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.02, allocations: 3.156 kB / 0.971 GB, free: 8.238 MB / 0.7169 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/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)