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.0009348/0.0009348, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007507/0.007507, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7367/0.7367, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004487, allocations: 8 kB / 0.5041 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 81.57 MB / 0.5837 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2104/0.6012, allocations: 209.2 MB / 0.788 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.6115, allocations: 7.039 MB / 0.7949 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.6128, allocations: 39.69 kB / 0.795 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.6146, allocations: 0.6606 MB / 0.7956 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.6203, allocations: 2.354 MB / 0.7979 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.623, allocations: 1.053 MB / 0.7989 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004082/0.6271, allocations: 3.757 MB / 0.8026 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.6284, allocations: 0.9025 MB / 0.8035 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003743/0.6321, allocations: 1.751 MB / 0.8052 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.6341, allocations: 0.9102 MB / 0.8061 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.6343, allocations: 44 kB / 0.8061 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.6388, allocations: 2.81 MB / 0.8089 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/0.6392, allocations: 346.7 kB / 0.8092 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.6399, allocations: 0.6234 MB / 0.8098 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.6431, allocations: 2.52 MB / 0.8123 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6431, allocations: 0 / 0.8123 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6431, allocations: 0 / 0.8123 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.6431, allocations: 0 / 0.8123 GB, free: 5.562 MB / 0.6387 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.00383/0.647, allocations: 1.606 MB / 0.8138 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.647, allocations: 8.031 kB / 0.8138 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.6472, allocations: 135.1 kB / 0.814 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.6502, allocations: 0.5877 MB / 0.8145 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.6519, allocations: 0.9602 MB / 0.8155 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/0.6525, allocations: 197.9 kB / 0.8157 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.6527, allocations: 80 kB / 0.8157 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.6554, allocations: 1.276 MB / 0.817 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.6554, allocations: 4 kB / 0.817 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6555, allocations: 31.94 kB / 0.817 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.6556, allocations: 45.98 kB / 0.8171 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.382/1.038, allocations: 1.613 MB / 0.8186 GB, free: 17.97 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.006892/1.045, allocations: 4.085 MB / 0.8226 GB, free: 16.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/1.048, allocations: 1.045 MB / 0.8237 GB, free: 16.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/1.05, allocations: 0.7005 MB / 0.8243 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.051, allocations: 0.6386 MB / 0.825 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/1.051, allocations: 49.22 kB / 0.825 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.367e-06/1.051, allocations: 0 / 0.825 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005293/1.056, allocations: 1.92 MB / 0.8269 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/1.056, allocations: 59.75 kB / 0.8269 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.057, allocations: 0.8175 MB / 0.8277 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.057, allocations: 44.08 kB / 0.8278 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/1.058, allocations: 446.6 kB / 0.8282 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.058, allocations: 257.5 kB / 0.8284 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.058, allocations: 64.11 kB / 0.8285 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/1.058, allocations: 338.1 kB / 0.8288 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/1.06, allocations: 0.5621 MB / 0.8294 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/1.061, allocations: 0.7016 MB / 0.8301 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/1.064, allocations: 1.22 MB / 0.8313 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.064, allocations: 2.719 kB / 0.8313 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003842/1.068, allocations: 1.436 MB / 0.8327 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.068, allocations: 152.7 kB / 0.8328 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.068, allocations: 1.281 kB / 0.8328 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.068, allocations: 3.906 kB / 0.8328 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.07, allocations: 283.3 kB / 0.8331 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004789/1.07, allocations: 1.193 MB / 0.8342 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.072, allocations: 195.5 kB / 0.8344 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.072, allocations: 37.09 kB / 0.8345 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/1.072, allocations: 7.375 kB / 0.8345 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003325/1.075, allocations: 1.323 MB / 0.8358 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.075, allocations: 2.125 kB / 0.8358 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.475e-06/1.075, allocations: 4.719 kB / 0.8358 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.076, allocations: 254.3 kB / 0.836 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.076, allocations: 8.125 kB / 0.836 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.078, allocations: 191.2 kB / 0.8362 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/1.078, allocations: 37 kB / 0.8362 GB, free: 12.87 MB / 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.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.0006053/1.078, allocations: 377.2 kB / 0.8366 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/1.079, allocations: 104.6 kB / 0.8367 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/1.082, allocations: 1.432 MB / 0.8381 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/1.082, allocations: 8.625 kB / 0.8381 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.082, allocations: 5.625 kB / 0.8381 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.082, allocations: 3.188 kB / 0.8381 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/1.087, allocations: 2.933 MB / 0.841 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.087, allocations: 8.016 kB / 0.841 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.088, allocations: 252.6 kB / 0.8412 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/1.088, allocations: 6.031 kB / 0.8412 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/1.088, allocations: 22.28 kB / 0.8413 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003544/1.089, allocations: 1.195 MB / 0.8424 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.089, allocations: 2.906 kB / 0.8424 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/1.092, allocations: 1.547 MB / 0.8439 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/1.092, allocations: 305.1 kB / 0.8442 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.092, allocations: 17.16 kB / 0.8442 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.094, allocations: 165.9 kB / 0.8444 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.094, allocations: 65.66 kB / 0.8445 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/1.094, allocations: 43.64 kB / 0.8445 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006111/1.094, allocations: 0.5667 MB / 0.8451 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.094, allocations: 3.562 kB / 0.8451 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001281/1.096, allocations: 0.535 MB / 0.8456 GB, free: 10.12 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 (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.003563/1.099, allocations: 2.243 MB / 0.8478 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004942/1.104, allocations: 2.156 MB / 0.8499 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.104, allocations: 2.844 kB / 0.8499 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/1.106, allocations: 0.702 MB / 0.8506 GB, free: 9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.109, allocations: 0.5124 MB / 0.8511 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.126, allocations: 9.685 MB / 0.8605 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/1.126, allocations: 1.089 MB / 0.8616 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001847/1.128, allocations: 393.6 kB / 0.862 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/1.129, allocations: 390.8 kB / 0.8623 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/1.129, allocations: 0 / 0.8623 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6037/1.733, allocations: 27.46 MB / 0.8892 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.733, allocations: 272.6 kB / 0.8894 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/4.406, allocations: 0 / 0.8894 GB, free: 10.98 MB / 0.6544 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)