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.005323/0.005323, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001336/0.001336, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.5 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4081, allocations: 81.03 MB / 0.6649 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05717/0.4653, allocations: 41.55 MB / 0.7055 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.482, allocations: 10.39 MB / 0.7156 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.4841, allocations: 55.69 kB / 0.7157 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.4863, allocations: 0.6365 MB / 0.7163 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.4923, allocations: 1.88 MB / 0.7181 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.4959, allocations: 1.184 MB / 0.7193 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005693/0.5016, allocations: 3.389 MB / 0.7226 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.5038, allocations: 1.063 MB / 0.7236 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005574/0.5094, allocations: 1.239 MB / 0.7248 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.5121, allocations: 0.8789 MB / 0.7257 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004287/0.5126, allocations: 100 kB / 0.7258 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.5155, allocations: 0.8617 MB / 0.7266 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005281/0.5161, allocations: 279 kB / 0.7269 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.5172, allocations: 0.6338 MB / 0.7275 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.5211, allocations: 1.948 MB / 0.7294 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5211, allocations: 0 / 0.7294 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5211, allocations: 0 / 0.7294 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.666e-05/0.5212, allocations: 0 / 0.7294 GB, free: 14.71 MB / 0.5606 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.003207/0.5244, allocations: 1.548 MB / 0.7309 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5245, allocations: 12.03 kB / 0.7309 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.5246, allocations: 118.6 kB / 0.7311 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.5251, allocations: 136.1 kB / 0.7312 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.5284, allocations: 1.115 MB / 0.7323 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.5286, allocations: 54 kB / 0.7323 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.5288, allocations: 79.94 kB / 0.7324 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.5313, allocations: 0.7905 MB / 0.7332 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.5314, allocations: 0 / 0.7332 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.5315, allocations: 35.98 kB / 0.7332 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.5316, allocations: 20 kB / 0.7332 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5338, allocations: 0.5711 MB / 0.7338 GB, free: 10.1 MB / 0.5606 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.005782/0.5396, allocations: 3.556 MB / 0.7373 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.5404, allocations: 256.3 kB / 0.7375 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.5408, allocations: 184.4 kB / 0.7377 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.5415, allocations: 0.6532 MB / 0.7383 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.5415, allocations: 42.55 kB / 0.7384 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.5415, allocations: 0 / 0.7384 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.00145/0.543, allocations: 0.5202 MB / 0.7389 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.543, allocations: 55.34 kB / 0.7389 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.5445, allocations: 0.9534 MB / 0.7399 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.4e-05/0.5447, allocations: 33.7 kB / 0.7399 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.5451, allocations: 0.4966 MB / 0.7404 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.5453, allocations: 123 kB / 0.7405 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.5455, allocations: 118.2 kB / 0.7406 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5457, allocations: 326 kB / 0.7409 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.5461, allocations: 161 kB / 0.7411 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.5467, allocations: 354.8 kB / 0.7414 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.5477, allocations: 0.5155 MB / 0.7419 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5477, allocations: 0 / 0.7419 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001444/0.5491, allocations: 0.6187 MB / 0.7425 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.5492, allocations: 8 kB / 0.7425 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.5492, allocations: 11.94 kB / 0.7425 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.5492, allocations: 8.594 kB / 0.7425 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.5497, allocations: 127.8 kB / 0.7427 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.5497, allocations: 11.94 kB / 0.7427 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.5505, allocations: 83.42 kB / 0.7428 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.5505, allocations: 24 kB / 0.7428 GB, free: 304 kB / 0.5606 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.0004692/0.551, allocations: 278.3 kB / 0.743 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.5512, allocations: 103.4 kB / 0.7431 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.5524, allocations: 490 kB / 0.7436 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5524, allocations: 4 kB / 0.7436 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5524, allocations: 3.938 kB / 0.7436 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008168/0.5533, allocations: 457.2 kB / 0.744 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.5558, allocations: 1.374 MB / 0.7454 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.5559, allocations: 0 / 0.7454 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.5563, allocations: 75.89 kB / 0.7455 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.5563, allocations: 7.938 kB / 0.7455 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.5563, allocations: 8 kB / 0.7455 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.5563, allocations: 4 kB / 0.7455 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5563, allocations: 0 / 0.7455 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5578, allocations: 0.7754 MB / 0.7462 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.5582, allocations: 228.4 kB / 0.7465 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.5584, allocations: 8 kB / 0.7465 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.5589, allocations: 23.97 kB / 0.7465 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.559, allocations: 23.97 kB / 0.7465 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.5591, allocations: 19.98 kB / 0.7465 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001046/0.5601, allocations: 0.6705 MB / 0.7472 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5601, allocations: 4 kB / 0.7472 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00117/0.5613, allocations: 347.1 kB / 0.7475 GB, free: 11.26 MB / 0.5762 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.002653/0.564, allocations: 1.593 MB / 0.7491 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.5651, allocations: 421.3 kB / 0.7495 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5651, allocations: 0 / 0.7495 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.5656, allocations: 196.8 kB / 0.7497 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.5687, allocations: 0.613 MB / 0.7503 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.5806, allocations: 6.837 MB / 0.7569 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/0.5813, allocations: 1.036 MB / 0.758 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008268/0.5822, allocations: 200.2 kB / 0.7581 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.5827, allocations: 371.4 kB / 0.7585 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.5828, allocations: 0 / 0.7585 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07877/0.6615, allocations: 29.74 MB / 0.7875 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.91, allocations: 13.83 kB / 0.7875 GB, free: 2.289 MB / 0.6075 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)