Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="IDEAS_dev_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.00095/0.0009502, allocations: 90.36 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.005337/0.005337, allocations: 172.6 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9056/0.9056, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 9.062 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1666, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5022/0.6688, allocations: 209.2 MB / 0.7924 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.6791, allocations: 7.073 MB / 0.7993 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.6802, allocations: 35.75 kB / 0.7993 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.6819, allocations: 0.6528 MB / 0.7999 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.6874, allocations: 2.354 MB / 0.8022 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.6902, allocations: 1.056 MB / 0.8033 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.6944, allocations: 3.737 MB / 0.8069 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.6957, allocations: 0.9064 MB / 0.8078 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.6993, allocations: 1.763 MB / 0.8095 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.7011, allocations: 0.9019 MB / 0.8104 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.7012, allocations: 48 kB / 0.8104 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.7056, allocations: 2.798 MB / 0.8132 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.7059, allocations: 346.7 kB / 0.8135 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.7066, allocations: 0.6311 MB / 0.8141 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.7098, allocations: 2.516 MB / 0.8166 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.7098, allocations: 0 / 0.8166 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7098, allocations: 4 kB / 0.8166 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.7098, allocations: 0 / 0.8166 GB, free: 2.195 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.003916/0.7138, allocations: 1.608 MB / 0.8182 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7138, allocations: 11.97 kB / 0.8182 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.714, allocations: 135.1 kB / 0.8183 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/0.717, allocations: 0.5838 MB / 0.8189 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.7186, allocations: 0.9525 MB / 0.8198 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006365/0.7192, allocations: 201.9 kB / 0.82 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.7194, allocations: 83.98 kB / 0.8201 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.722, allocations: 1.268 MB / 0.8213 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.722, allocations: 3.938 kB / 0.8213 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.7221, allocations: 32 kB / 0.8213 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.7221, allocations: 49.92 kB / 0.8214 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.7258, allocations: 1.616 MB / 0.823 GB, free: 11.54 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.005708/0.7315, allocations: 4.103 MB / 0.827 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.7341, allocations: 1.044 MB / 0.828 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.7356, allocations: 0.6943 MB / 0.8287 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.7367, allocations: 0.636 MB / 0.8293 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.7367, allocations: 43.22 kB / 0.8293 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.064e-06/0.7367, allocations: 0 / 0.8293 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004788/0.7415, allocations: 1.918 MB / 0.8312 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.7415, allocations: 60.06 kB / 0.8313 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.7425, allocations: 0.827 MB / 0.8321 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.7426, allocations: 41.7 kB / 0.8321 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.7429, allocations: 444.6 kB / 0.8325 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.7431, allocations: 260.2 kB / 0.8328 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.7432, allocations: 61.69 kB / 0.8328 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.7433, allocations: 333.9 kB / 0.8332 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.7447, allocations: 0.568 MB / 0.8337 GB, free: 56 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.7463, allocations: 0.7066 MB / 0.8344 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.7493, allocations: 1.221 MB / 0.8356 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7493, allocations: 0 / 0.8356 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003405/0.7527, allocations: 1.431 MB / 0.837 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.7528, allocations: 152.8 kB / 0.8371 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7529, allocations: 0 / 0.8371 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.7529, allocations: 7.938 kB / 0.8371 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.7544, allocations: 281.6 kB / 0.8374 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006435/0.7551, allocations: 1.196 MB / 0.8386 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7563, allocations: 195.2 kB / 0.8388 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.7564, allocations: 37.22 kB / 0.8388 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.7564, allocations: 4 kB / 0.8388 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003141/0.7596, allocations: 1.336 MB / 0.8401 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.7596, allocations: 0 / 0.8401 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.7596, allocations: 8 kB / 0.8401 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7608, allocations: 247.8 kB / 0.8404 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.7608, allocations: 4 kB / 0.8404 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.7619, allocations: 195.1 kB / 0.8405 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.762, allocations: 35.97 kB / 0.8406 GB, free: 8.883 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.0005045/0.7625, allocations: 377 kB / 0.8409 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7627, allocations: 106.7 kB / 0.841 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/0.7661, allocations: 1.438 MB / 0.8424 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7661, allocations: 8 kB / 0.8425 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7661, allocations: 0 / 0.8425 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.7662, allocations: 3.984 kB / 0.8425 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/0.7714, allocations: 2.921 MB / 0.8453 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7714, allocations: 4 kB / 0.8453 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.7726, allocations: 260.1 kB / 0.8456 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.7727, allocations: 7.938 kB / 0.8456 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.7727, allocations: 27.98 kB / 0.8456 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005153/0.7732, allocations: 1.191 MB / 0.8468 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.7733, allocations: 4 kB / 0.8468 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.7764, allocations: 1.541 MB / 0.8483 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.7768, allocations: 307.5 kB / 0.8486 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.777, allocations: 27.92 kB / 0.8486 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7782, allocations: 159.7 kB / 0.8487 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7783, allocations: 64.48 kB / 0.8488 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.7784, allocations: 35.97 kB / 0.8488 GB, free: 180 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006643/0.779, allocations: 0.5662 MB / 0.8494 GB, free: 15.59 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7791, allocations: 0 / 0.8494 GB, free: 15.59 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001169/0.7802, allocations: 0.5341 MB / 0.8499 GB, free: 15.06 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.003868/0.7841, allocations: 2.251 MB / 0.8521 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005115/0.7892, allocations: 2.162 MB / 0.8542 GB, free: 10.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7892, allocations: 4 kB / 0.8542 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.791, allocations: 0.7066 MB / 0.8549 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.7938, allocations: 0.5098 MB / 0.8554 GB, free: 9.367 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2521/1.046, allocations: 9.687 MB / 0.8649 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/1.046, allocations: 1.091 MB / 0.8659 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001645/1.048, allocations: 394.5 kB / 0.8663 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/1.049, allocations: 388.7 kB / 0.8667 GB, free: 216.2 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/1.049, allocations: 0 / 0.8667 GB, free: 216.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.57/1.619, allocations: 27.48 MB / 0.8935 GB, free: 215 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/1.619, allocations: 302.8 kB / 0.8938 GB, free: 214.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/4.458, allocations: 1 kB / 0.8938 GB, free: 214.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)