Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001065/0.001065, allocations: 192.1 kB / 16.14 MB, free: 6.695 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9143/0.9143, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 72.19 kB / 0.5048 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.143, allocations: 80.9 MB / 0.5838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2678/0.4109, allocations: 41.33 MB / 0.6242 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.4216, allocations: 10.45 MB / 0.6344 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.4233, allocations: 51.5 kB / 0.6344 GB, free: 24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.4249, allocations: 0.5261 MB / 0.6349 GB, free: 23.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.4286, allocations: 1.739 MB / 0.6366 GB, free: 22.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.4308, allocations: 1.077 MB / 0.6377 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00342/0.4343, allocations: 4.508 MB / 0.6421 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.4353, allocations: 0.8764 MB / 0.6429 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4369, allocations: 1.049 MB / 0.644 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.4381, allocations: 0.8957 MB / 0.6448 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.4383, allocations: 51.22 kB / 0.6449 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.4399, allocations: 0.7763 MB / 0.6456 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.4402, allocations: 232.3 kB / 0.6459 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006355/0.4408, allocations: 0.5709 MB / 0.6464 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.4426, allocations: 1.884 MB / 0.6483 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4427, allocations: 0 / 0.6483 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.71e-07/0.4427, allocations: 0 / 0.6483 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4427, allocations: 0 / 0.6483 GB, free: 17.72 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001801/0.4445, allocations: 1.507 MB / 0.6497 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4445, allocations: 8.312 kB / 0.6497 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.626e-05/0.4446, allocations: 118 kB / 0.6498 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.4449, allocations: 135.5 kB / 0.65 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4461, allocations: 1.094 MB / 0.651 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.4461, allocations: 50.66 kB / 0.6511 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/0.4462, allocations: 76.05 kB / 0.6512 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4473, allocations: 0.7879 MB / 0.6519 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4474, allocations: 1.75 kB / 0.6519 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.4474, allocations: 31.69 kB / 0.652 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.4475, allocations: 17.88 kB / 0.652 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4485, allocations: 0.5681 MB / 0.6525 GB, free: 15.24 MB / 0.4981 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.003076/0.4516, allocations: 3.54 MB / 0.656 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.4521, allocations: 266.2 kB / 0.6563 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.4525, allocations: 176.3 kB / 0.6564 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.4528, allocations: 0.6552 MB / 0.6571 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.4528, allocations: 41.73 kB / 0.6571 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.4528, allocations: 0 / 0.6571 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001063/0.4539, allocations: 0.508 MB / 0.6576 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.4539, allocations: 58.73 kB / 0.6577 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.455, allocations: 0.9417 MB / 0.6586 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4551, allocations: 32.39 kB / 0.6586 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.4554, allocations: 0.4929 MB / 0.6591 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/0.4554, allocations: 111.4 kB / 0.6592 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.4556, allocations: 110.2 kB / 0.6593 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.4556, allocations: 330.2 kB / 0.6596 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.456, allocations: 164.7 kB / 0.6598 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.4564, allocations: 353 kB / 0.6601 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.4571, allocations: 0.5079 MB / 0.6606 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4572, allocations: 7.188 kB / 0.6606 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001025/0.4582, allocations: 0.6171 MB / 0.6612 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4582, allocations: 11.88 kB / 0.6612 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4582, allocations: 12.64 kB / 0.6612 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4583, allocations: 9.672 kB / 0.6612 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.4587, allocations: 126.2 kB / 0.6614 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.4587, allocations: 13.22 kB / 0.6614 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.4593, allocations: 113.3 kB / 0.6615 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.4594, allocations: 30.34 kB / 0.6615 GB, free: 9.102 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002784/0.4597, allocations: 276 kB / 0.6618 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.4598, allocations: 99.03 kB / 0.6619 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008641/0.4607, allocations: 482.6 kB / 0.6623 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.4607, allocations: 5.625 kB / 0.6623 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4607, allocations: 4 kB / 0.6623 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006192/0.4613, allocations: 452.3 kB / 0.6628 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.4632, allocations: 1.356 MB / 0.6641 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4632, allocations: 5.719 kB / 0.6641 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.4635, allocations: 73 kB / 0.6642 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4635, allocations: 3.469 kB / 0.6642 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.4635, allocations: 9.094 kB / 0.6642 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4635, allocations: 7.531 kB / 0.6642 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4635, allocations: 1.766 kB / 0.6642 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4647, allocations: 0.7722 MB / 0.6649 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.4649, allocations: 221 kB / 0.6652 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4651, allocations: 12.22 kB / 0.6652 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/0.4656, allocations: 56.84 kB / 0.6652 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.4657, allocations: 25.8 kB / 0.6652 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.4657, allocations: 15.7 kB / 0.6653 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008302/0.4666, allocations: 0.6514 MB / 0.6659 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4666, allocations: 4 kB / 0.6659 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009118/0.4675, allocations: 327.2 kB / 0.6662 GB, free: 6.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001972/0.4695, allocations: 1.585 MB / 0.6678 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000787/0.4703, allocations: 414.8 kB / 0.6682 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4703, allocations: 0 / 0.6682 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.4706, allocations: 186.1 kB / 0.6683 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.4732, allocations: 0.5945 MB / 0.6689 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4838, allocations: 7.481 MB / 0.6762 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.4844, allocations: 1.038 MB / 0.6772 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001039/0.4854, allocations: 194.3 kB / 0.6774 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.486, allocations: 370.3 kB / 0.6778 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.486, allocations: 1.562 kB / 0.6778 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4701/0.956, allocations: 28.35 MB / 0.7055 GB, free: 288 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.9563, allocations: 249.4 kB / 0.7057 GB, free: 20 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.55, allocations: 0 / 0.7057 GB, free: 20 kB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)