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.00136/0.00136, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001566/0.001566, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.506/2.506, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.628/1.628, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006816/0.0006821, allocations: 16 kB / 0.5069 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3005, allocations: 82.31 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.715/1.016, allocations: 34.79 MB / 0.6213 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02408/1.04, allocations: 8.935 MB / 0.63 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/1.044, allocations: 48.91 kB / 0.63 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00408/1.048, allocations: 0.6101 MB / 0.6306 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/1.06, allocations: 1.822 MB / 0.6324 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008378/1.068, allocations: 1.352 MB / 0.6337 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008603/1.077, allocations: 1.967 MB / 0.6356 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/1.08, allocations: 0.7535 MB / 0.6364 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/1.085, allocations: 0.8797 MB / 0.6372 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/1.088, allocations: 0.5466 MB / 0.6378 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006652/1.089, allocations: 37.5 kB / 0.6378 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.094, allocations: 0.5408 MB / 0.6383 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009296/1.095, allocations: 188.8 kB / 0.6385 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/1.096, allocations: 265.1 kB / 0.6388 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006425/1.103, allocations: 1.351 MB / 0.6401 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/1.103, allocations: 11.94 kB / 0.6401 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.935e-06/1.103, allocations: 0 / 0.6401 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000153/1.103, allocations: 0 / 0.6401 GB, free: 23.95 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.005572/1.109, allocations: 1.31 MB / 0.6414 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.607e-05/1.109, allocations: 9.625 kB / 0.6414 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000477/1.109, allocations: 118.6 kB / 0.6415 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.11, allocations: 133.1 kB / 0.6416 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/1.114, allocations: 0.9762 MB / 0.6426 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/1.114, allocations: 57.12 kB / 0.6426 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/1.114, allocations: 77.19 kB / 0.6427 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/1.117, allocations: 0.7927 MB / 0.6435 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.944e-05/1.117, allocations: 2.719 kB / 0.6435 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/1.118, allocations: 29.77 kB / 0.6435 GB, free: 21.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-05/1.118, allocations: 19.09 kB / 0.6435 GB, free: 21.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/1.12, allocations: 0.5975 MB / 0.6441 GB, free: 21.66 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.007665/1.128, allocations: 3.57 MB / 0.6476 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008238/1.129, allocations: 265.9 kB / 0.6479 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/1.129, allocations: 0.6586 MB / 0.6485 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.129, allocations: 39.05 kB / 0.6485 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.757e-06/1.129, allocations: 2.812 kB / 0.6485 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.00194/1.131, allocations: 0.5419 MB / 0.6491 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/1.131, allocations: 60.66 kB / 0.6491 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.133, allocations: 0.9658 MB / 0.6501 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/1.133, allocations: 36.8 kB / 0.6501 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/1.134, allocations: 497.7 kB / 0.6506 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/1.134, allocations: 115.9 kB / 0.6507 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/1.134, allocations: 10.62 kB / 0.6507 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/1.134, allocations: 325.8 kB / 0.651 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/1.135, allocations: 182.2 kB / 0.6512 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/1.135, allocations: 353.3 kB / 0.6515 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/1.136, allocations: 231.5 kB / 0.6517 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.136, allocations: 3.344 kB / 0.6517 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001795/1.138, allocations: 0.6326 MB / 0.6524 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/1.138, allocations: 12.33 kB / 0.6524 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.138, allocations: 5.156 kB / 0.6524 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/1.138, allocations: 7.844 kB / 0.6524 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/1.139, allocations: 132.5 kB / 0.6525 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/1.139, allocations: 21.09 kB / 0.6525 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.14, allocations: 112.3 kB / 0.6526 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/1.14, allocations: 22.78 kB / 0.6527 GB, free: 15.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007703/1.141, allocations: 273.5 kB / 0.6529 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/1.141, allocations: 98.75 kB / 0.653 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/1.143, allocations: 0.5072 MB / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/1.144, allocations: 3.25 kB / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.144, allocations: 3.828 kB / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/1.145, allocations: 468.2 kB / 0.654 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/1.149, allocations: 1.397 MB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.149, allocations: 1.25 kB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/1.15, allocations: 84.45 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/1.15, allocations: 3.531 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/1.15, allocations: 12.38 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/1.15, allocations: 2.031 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.15, allocations: 1.719 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/1.152, allocations: 0.8542 MB / 0.6563 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/1.153, allocations: 255.4 kB / 0.6565 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/1.154, allocations: 13.03 kB / 0.6565 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.155, allocations: 67.89 kB / 0.6566 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/1.155, allocations: 24.89 kB / 0.6566 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/1.155, allocations: 23.91 kB / 0.6566 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001958/1.157, allocations: 0.6747 MB / 0.6573 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.157, allocations: 1.125 kB / 0.6573 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002249/1.159, allocations: 340.5 kB / 0.6576 GB, free: 13.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004827/1.164, allocations: 2.02 MB / 0.6596 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.166, allocations: 444.2 kB / 0.66 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.166, allocations: 0.6562 kB / 0.66 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/1.167, allocations: 193.5 kB / 0.6602 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006214/1.173, allocations: 0.5877 MB / 0.6608 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/1.183, allocations: 5.96 MB / 0.6666 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.185, allocations: 1.067 MB / 0.6676 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002127/1.187, allocations: 206.5 kB / 0.6678 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.188, allocations: 368.3 kB / 0.6682 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/1.188, allocations: 0 / 0.6682 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.311, allocations: 28.99 MB / 0.6965 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005115/1.312, allocations: 222.6 kB / 0.6967 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.231/5.542, allocations: 3 kB / 0.6967 GB, free: 11.44 MB / 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/linux/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) Environment - environmentSimulation: