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.0007937/0.0007937, allocations: 90.52 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.004857/0.004857, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8298/0.8298, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002759, allocations: 12 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2431/0.3715, allocations: 40.47 MB / 0.6276 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008661/0.3802, allocations: 10.32 MB / 0.6377 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.3809, allocations: 56.47 kB / 0.6377 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.3818, allocations: 0.5236 MB / 0.6382 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.3843, allocations: 1.746 MB / 0.6399 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3859, allocations: 1.073 MB / 0.641 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.3885, allocations: 4.503 MB / 0.6454 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.3892, allocations: 0.858 MB / 0.6462 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.3902, allocations: 1.012 MB / 0.6472 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.3909, allocations: 0.8725 MB / 0.6481 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.391, allocations: 38.25 kB / 0.6481 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.392, allocations: 0.7642 MB / 0.6489 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3922, allocations: 215.5 kB / 0.6491 GB, free: 18.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.3925, allocations: 0.576 MB / 0.6496 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3937, allocations: 1.834 MB / 0.6514 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3938, allocations: 0 / 0.6514 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3938, allocations: 4 kB / 0.6514 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3938, allocations: 0 / 0.6514 GB, free: 17.67 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.001467/0.3952, allocations: 1.304 MB / 0.6527 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3953, allocations: 8.125 kB / 0.6527 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.3954, allocations: 117.6 kB / 0.6528 GB, free: 16.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.3956, allocations: 137.1 kB / 0.6529 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3968, allocations: 1.075 MB / 0.654 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.3968, allocations: 62.06 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.3969, allocations: 72.84 kB / 0.6541 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3979, allocations: 0.7975 MB / 0.6549 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.398, allocations: 0.9375 kB / 0.6549 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.398, allocations: 35.53 kB / 0.6549 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.3981, allocations: 18.88 kB / 0.6549 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.3991, allocations: 0.5908 MB / 0.6555 GB, free: 15.32 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.002821/0.4019, allocations: 3.557 MB / 0.659 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.4024, allocations: 273.4 kB / 0.6593 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.4027, allocations: 191.8 kB / 0.6594 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.403, allocations: 0.6553 MB / 0.6601 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.4031, allocations: 35 kB / 0.6601 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.362e-06/0.4031, allocations: 0 / 0.6601 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001046/0.4041, allocations: 0.5521 MB / 0.6607 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.4042, allocations: 58.66 kB / 0.6607 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4052, allocations: 0.9326 MB / 0.6616 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4052, allocations: 32.98 kB / 0.6617 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.4055, allocations: 0.4925 MB / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.4056, allocations: 116 kB / 0.6622 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.4056, allocations: 48.69 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.4057, allocations: 325.7 kB / 0.6626 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.406, allocations: 175.4 kB / 0.6628 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.4064, allocations: 359.1 kB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/0.4072, allocations: 0.5259 MB / 0.6636 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4072, allocations: 1.969 kB / 0.6636 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009684/0.4081, allocations: 0.645 MB / 0.6643 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4082, allocations: 7.219 kB / 0.6643 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4082, allocations: 5.031 kB / 0.6643 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4082, allocations: 7.938 kB / 0.6643 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.4086, allocations: 136.6 kB / 0.6644 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4086, allocations: 13.06 kB / 0.6644 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.4092, allocations: 118.9 kB / 0.6645 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.4093, allocations: 25.39 kB / 0.6646 GB, free: 9.207 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.0002659/0.4095, allocations: 272.4 kB / 0.6648 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4096, allocations: 102.7 kB / 0.6649 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.4105, allocations: 0.5052 MB / 0.6654 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4105, allocations: 4.469 kB / 0.6654 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4105, allocations: 0 / 0.6654 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00063/0.4112, allocations: 476.4 kB / 0.6659 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.4128, allocations: 1.386 MB / 0.6672 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4129, allocations: 2.922 kB / 0.6672 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.4131, allocations: 77.17 kB / 0.6673 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.4132, allocations: 3.203 kB / 0.6673 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.4132, allocations: 10.38 kB / 0.6673 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4132, allocations: 3.438 kB / 0.6673 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4132, allocations: 5.281 kB / 0.6673 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4143, allocations: 0.8036 MB / 0.6681 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.4145, allocations: 242.8 kB / 0.6683 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.4146, allocations: 7.078 kB / 0.6683 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.4151, allocations: 61.55 kB / 0.6684 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.4152, allocations: 24.67 kB / 0.6684 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.4152, allocations: 20.48 kB / 0.6684 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006866/0.4159, allocations: 0.6477 MB / 0.6691 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4159, allocations: 5.094 kB / 0.6691 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007375/0.4167, allocations: 327.8 kB / 0.6694 GB, free: 6.75 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.001699/0.4184, allocations: 1.618 MB / 0.671 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.4191, allocations: 440.6 kB / 0.6714 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4191, allocations: 1.938 kB / 0.6714 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.4195, allocations: 196 kB / 0.6716 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.4221, allocations: 0.5965 MB / 0.6722 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/0.4312, allocations: 7.589 MB / 0.6796 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.4316, allocations: 1.042 MB / 0.6806 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006161/0.4322, allocations: 192.3 kB / 0.6808 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.4327, allocations: 367.6 kB / 0.6811 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.4327, allocations: 1.344 kB / 0.6811 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/1.75, allocations: 28.32 MB / 0.7088 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003917/1.75, allocations: 257.9 kB / 0.709 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/5.201, allocations: 3.375 kB / 0.709 GB, free: 15.63 MB / 0.5294 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)