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.001248/0.001249, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7188/0.7188, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.48 kB / 0.5019 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1219, allocations: 80.2 MB / 0.5802 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.3836/0.5056, allocations: 214.2 MB / 0.7893 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009599/0.5153, allocations: 7.027 MB / 0.7962 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.5159, allocations: 43.75 kB / 0.7963 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.5175, allocations: 0.7842 MB / 0.797 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.5221, allocations: 2.509 MB / 0.7995 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.5243, allocations: 1.164 MB / 0.8006 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002523/0.5268, allocations: 2.805 MB / 0.8033 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.5281, allocations: 1.095 MB / 0.8044 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.5311, allocations: 1.981 MB / 0.8063 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.5326, allocations: 0.9262 MB / 0.8073 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.5327, allocations: 120 kB / 0.8074 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.5362, allocations: 2.451 MB / 0.8098 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.5366, allocations: 422.7 kB / 0.8102 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.5372, allocations: 0.6882 MB / 0.8108 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.5398, allocations: 2.474 MB / 0.8133 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5399, allocations: 7.938 kB / 0.8133 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5399, allocations: 0 / 0.8133 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5399, allocations: 0 / 0.8133 GB, free: 4.016 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.003977/0.5439, allocations: 1.849 MB / 0.8151 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5439, allocations: 8.031 kB / 0.8151 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.5441, allocations: 135.1 kB / 0.8152 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.5472, allocations: 0.5342 MB / 0.8157 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.5487, allocations: 0.964 MB / 0.8167 GB, free: 432 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006401/0.5494, allocations: 181.9 kB / 0.8168 GB, free: 248 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.5495, allocations: 80 kB / 0.8169 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.5521, allocations: 1.237 MB / 0.8181 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5521, allocations: 0 / 0.8181 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.5523, allocations: 32 kB / 0.8182 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.5523, allocations: 49.98 kB / 0.8182 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/0.556, allocations: 1.542 MB / 0.8197 GB, free: 13.3 MB / 0.6387 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.005831/0.5619, allocations: 4.087 MB / 0.8237 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.5645, allocations: 0.9951 MB / 0.8247 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.566, allocations: 0.663 MB / 0.8253 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.5671, allocations: 0.6164 MB / 0.8259 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.5671, allocations: 43.22 kB / 0.826 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 1.884e-06/0.5671, allocations: 0 / 0.826 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004833/0.5719, allocations: 1.808 MB / 0.8277 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.572, allocations: 64 kB / 0.8278 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.5729, allocations: 0.8193 MB / 0.8286 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/0.573, allocations: 45.7 kB / 0.8286 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.5733, allocations: 436.5 kB / 0.829 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.5735, allocations: 256.2 kB / 0.8293 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.5738, allocations: 166.4 kB / 0.8294 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5739, allocations: 337.9 kB / 0.8298 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.5754, allocations: 0.5395 MB / 0.8303 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.5769, allocations: 0.6598 MB / 0.8309 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.5798, allocations: 1.151 MB / 0.8321 GB, free: 112 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5798, allocations: 0 / 0.8321 GB, free: 112 kB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003348/0.5832, allocations: 1.361 MB / 0.8334 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.5832, allocations: 37.69 kB / 0.8334 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5833, allocations: 4.062 kB / 0.8334 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5833, allocations: 8 kB / 0.8334 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.5848, allocations: 256.4 kB / 0.8337 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.5855, allocations: 1.199 MB / 0.8349 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.5865, allocations: 151.3 kB / 0.835 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/0.5866, allocations: 35.98 kB / 0.835 GB, free: 13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001724/0.5883, allocations: 0.7649 MB / 0.8358 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001543/0.5899, allocations: 0.6598 MB / 0.8364 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002898/0.5928, allocations: 1.147 MB / 0.8375 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.5928, allocations: 0 / 0.8375 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003318/0.5961, allocations: 1.349 MB / 0.8389 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.5962, allocations: 41.62 kB / 0.8389 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.5962, allocations: 3.938 kB / 0.8389 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.5962, allocations: 4 kB / 0.8389 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5974, allocations: 231.8 kB / 0.8391 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5974, allocations: 4 kB / 0.8391 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009775/0.5984, allocations: 143.4 kB / 0.8393 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.5985, allocations: 35.97 kB / 0.8393 GB, free: 8.543 MB / 0.6544 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.0002163/0.5987, allocations: 224.1 kB / 0.8395 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.5989, allocations: 110.6 kB / 0.8396 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/0.6024, allocations: 1.363 MB / 0.841 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6024, allocations: 12 kB / 0.841 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6024, allocations: 0 / 0.841 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.6024, allocations: 3.984 kB / 0.841 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.6077, allocations: 2.855 MB / 0.8438 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.6077, allocations: 8.406 kB / 0.8438 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.6089, allocations: 231.6 kB / 0.844 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.609, allocations: 8 kB / 0.844 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.609, allocations: 31.97 kB / 0.844 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005396/0.6096, allocations: 1.188 MB / 0.8452 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6096, allocations: 4 kB / 0.8452 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.6129, allocations: 1.483 MB / 0.8466 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.6133, allocations: 307.5 kB / 0.8469 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.6135, allocations: 27.88 kB / 0.847 GB, free: 476 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.6146, allocations: 107.9 kB / 0.8471 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6147, allocations: 56.48 kB / 0.8471 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.6148, allocations: 39.91 kB / 0.8472 GB, free: 272 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006555/0.6155, allocations: 0.57 MB / 0.8477 GB, free: 15.68 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6155, allocations: 0 / 0.8477 GB, free: 15.68 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001138/0.6166, allocations: 0.5418 MB / 0.8482 GB, free: 15.14 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.003966/0.6206, allocations: 2.164 MB / 0.8504 GB, free: 12.92 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00553/0.6261, allocations: 2.151 MB / 0.8525 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6262, allocations: 4 kB / 0.8525 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.6279, allocations: 0.6714 MB / 0.8531 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.6301, allocations: 0.5018 MB / 0.8536 GB, free: 9.598 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.6455, allocations: 9.08 MB / 0.8625 GB, free: 176 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1924/0.838, allocations: 1.087 MB / 0.8635 GB, free: 225.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001756/0.8398, allocations: 394.1 kB / 0.8639 GB, free: 225.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005738/0.8403, allocations: 390.1 kB / 0.8643 GB, free: 225.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.8404, allocations: 0 / 0.8643 GB, free: 225.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.944/3.784, allocations: 28.53 MB / 0.8921 GB, free: 223.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/17.38, allocations: 8.609 kB / 0.8922 GB, free: 223.6 MB / 0.67 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)