Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.0009491/0.0009491, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00809/0.00809, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7691/0.7691, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 8.562 kB / 0.5041 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4238, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2266/0.6505, allocations: 209.2 MB / 0.7881 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.6612, allocations: 7.048 MB / 0.7949 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.6626, allocations: 39.69 kB / 0.795 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.6644, allocations: 0.6489 MB / 0.7956 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.6707, allocations: 2.357 MB / 0.7979 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.6736, allocations: 1.056 MB / 0.7989 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00437/0.678, allocations: 3.753 MB / 0.8026 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.6796, allocations: 0.9026 MB / 0.8035 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.6836, allocations: 1.751 MB / 0.8052 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.6858, allocations: 0.911 MB / 0.8061 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.6861, allocations: 44 kB / 0.8061 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.6909, allocations: 2.802 MB / 0.8089 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.6914, allocations: 350.7 kB / 0.8092 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6924, allocations: 0.6195 MB / 0.8098 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.6964, allocations: 2.52 MB / 0.8123 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6964, allocations: 4 kB / 0.8123 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6964, allocations: 0 / 0.8123 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.698e-05/0.6965, allocations: 0 / 0.8123 GB, free: 5.633 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.00447/0.701, allocations: 1.602 MB / 0.8138 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.701, allocations: 12.03 kB / 0.8138 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/0.7013, allocations: 131.1 kB / 0.814 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/0.7046, allocations: 0.5838 MB / 0.8145 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.7065, allocations: 0.9602 MB / 0.8155 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006608/0.7071, allocations: 197.9 kB / 0.8157 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.7074, allocations: 87.98 kB / 0.8157 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.7102, allocations: 1.264 MB / 0.817 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.7102, allocations: 7.938 kB / 0.817 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7103, allocations: 35.94 kB / 0.817 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.7104, allocations: 49.92 kB / 0.8171 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3439/1.054, allocations: 1.611 MB / 0.8186 GB, free: 17.91 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.007398/1.062, allocations: 4.087 MB / 0.8226 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/1.065, allocations: 1.05 MB / 0.8237 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/1.066, allocations: 0.6972 MB / 0.8243 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.067, allocations: 0.6359 MB / 0.825 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.067, allocations: 51.84 kB / 0.825 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/1.067, allocations: 2.906 kB / 0.825 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004945/1.072, allocations: 1.919 MB / 0.8269 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.072, allocations: 60.09 kB / 0.8269 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.073, allocations: 0.8152 MB / 0.8277 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.073, allocations: 43.5 kB / 0.8278 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/1.074, allocations: 446.3 kB / 0.8282 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/1.074, allocations: 256.6 kB / 0.8285 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.074, allocations: 70.62 kB / 0.8285 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/1.074, allocations: 330 kB / 0.8288 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.076, allocations: 0.5681 MB / 0.8294 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/1.077, allocations: 0.7018 MB / 0.8301 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/1.08, allocations: 1.221 MB / 0.8313 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.08, allocations: 1 kB / 0.8313 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004061/1.084, allocations: 1.437 MB / 0.8327 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/1.085, allocations: 155.3 kB / 0.8328 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.085, allocations: 0.75 kB / 0.8328 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.085, allocations: 8.094 kB / 0.8328 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.086, allocations: 284.8 kB / 0.8331 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005566/1.087, allocations: 1.193 MB / 0.8343 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.088, allocations: 198.7 kB / 0.8345 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.088, allocations: 33.91 kB / 0.8345 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.088, allocations: 3.438 kB / 0.8345 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00329/1.092, allocations: 1.323 MB / 0.8358 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.092, allocations: 4.312 kB / 0.8358 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.092, allocations: 4.719 kB / 0.8358 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.093, allocations: 253.9 kB / 0.836 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/1.093, allocations: 6.062 kB / 0.836 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.094, allocations: 193.5 kB / 0.8362 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/1.094, allocations: 37.2 kB / 0.8363 GB, free: 12.82 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.0005434/1.095, allocations: 379.8 kB / 0.8366 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/1.095, allocations: 103.2 kB / 0.8367 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/1.098, allocations: 1.435 MB / 0.8381 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.098, allocations: 6.469 kB / 0.8381 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.098, allocations: 3.938 kB / 0.8381 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.098, allocations: 3.141 kB / 0.8381 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/1.103, allocations: 2.933 MB / 0.841 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.103, allocations: 4.875 kB / 0.841 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.104, allocations: 255.8 kB / 0.8412 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.104, allocations: 10.5 kB / 0.8413 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/1.104, allocations: 22.61 kB / 0.8413 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000323/1.105, allocations: 1.193 MB / 0.8424 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.105, allocations: 8 kB / 0.8425 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/1.108, allocations: 1.539 MB / 0.844 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/1.108, allocations: 305.7 kB / 0.8442 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.108, allocations: 20.53 kB / 0.8443 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.11, allocations: 162.4 kB / 0.8444 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.11, allocations: 70.17 kB / 0.8445 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/1.11, allocations: 35.55 kB / 0.8445 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005919/1.11, allocations: 0.5697 MB / 0.8451 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 0.8451 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001239/1.112, allocations: 0.535 MB / 0.8456 GB, free: 10.07 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.003495/1.115, allocations: 2.253 MB / 0.8478 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004779/1.12, allocations: 2.155 MB / 0.8499 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.12, allocations: 3.188 kB / 0.8499 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.121, allocations: 0.7039 MB / 0.8506 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.124, allocations: 0.5085 MB / 0.8511 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.141, allocations: 9.678 MB / 0.8605 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/1.142, allocations: 1.091 MB / 0.8616 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001737/1.143, allocations: 395.8 kB / 0.862 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/1.144, allocations: 394.2 kB / 0.8624 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/1.144, allocations: 0.9062 kB / 0.8624 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7457/1.89, allocations: 27.5 MB / 0.8892 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/1.89, allocations: 300 kB / 0.8895 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.816, allocations: 0 / 0.8895 GB, free: 10.98 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)