Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005093/0.005093, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001103/0.001103, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 72.05 kB / 0.5814 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.146, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03901/0.1851, allocations: 41.56 MB / 0.7003 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.2007, allocations: 10.39 MB / 0.7104 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.203, allocations: 59.62 kB / 0.7105 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.2049, allocations: 0.656 MB / 0.7111 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.2101, allocations: 1.973 MB / 0.713 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.213, allocations: 1.187 MB / 0.7142 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004196/0.2172, allocations: 3.395 MB / 0.7175 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.2188, allocations: 1.064 MB / 0.7186 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.2216, allocations: 1.271 MB / 0.7198 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.223, allocations: 0.8828 MB / 0.7207 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.2232, allocations: 100 kB / 0.7208 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.225, allocations: 0.8656 MB / 0.7216 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.2253, allocations: 283 kB / 0.7219 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.226, allocations: 0.626 MB / 0.7225 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.2283, allocations: 1.94 MB / 0.7244 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2284, allocations: 0 / 0.7244 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2284, allocations: 3.938 kB / 0.7244 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.2284, allocations: 4 kB / 0.7244 GB, free: 7.801 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.002215/0.2306, allocations: 1.507 MB / 0.7259 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2307, allocations: 8.031 kB / 0.7259 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.231, allocations: 135.4 kB / 0.726 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.2326, allocations: 1.107 MB / 0.7271 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.2327, allocations: 54 kB / 0.7271 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2328, allocations: 72 kB / 0.7272 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.2341, allocations: 0.7905 MB / 0.728 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.2341, allocations: 7.922 kB / 0.728 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.2342, allocations: 36 kB / 0.728 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.2342, allocations: 20 kB / 0.728 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2353, allocations: 0.5672 MB / 0.7286 GB, free: 3.371 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.003805/0.2392, allocations: 3.551 MB / 0.732 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.2397, allocations: 254.5 kB / 0.7323 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.2401, allocations: 178.8 kB / 0.7325 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.2406, allocations: 0.6648 MB / 0.7331 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2407, allocations: 42.55 kB / 0.7332 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.482e-06/0.2407, allocations: 0 / 0.7332 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001176/0.2419, allocations: 0.5106 MB / 0.7336 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2419, allocations: 59.41 kB / 0.7337 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.243, allocations: 0.9494 MB / 0.7346 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.2431, allocations: 33.7 kB / 0.7347 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.2435, allocations: 0.4918 MB / 0.7351 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.2436, allocations: 114.4 kB / 0.7353 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2437, allocations: 110.1 kB / 0.7354 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2439, allocations: 326 kB / 0.7357 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.2442, allocations: 173 kB / 0.7358 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.2447, allocations: 347.8 kB / 0.7362 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.2456, allocations: 0.5081 MB / 0.7367 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2456, allocations: 4 kB / 0.7367 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001174/0.2468, allocations: 0.6175 MB / 0.7373 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2468, allocations: 8 kB / 0.7373 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.2469, allocations: 4 kB / 0.7373 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.2469, allocations: 8 kB / 0.7373 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.2473, allocations: 123.8 kB / 0.7374 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.2474, allocations: 19.86 kB / 0.7374 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.248, allocations: 83.34 kB / 0.7375 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.2481, allocations: 28 kB / 0.7375 GB, free: 9.594 MB / 0.5762 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.0003967/0.2485, allocations: 277.6 kB / 0.7378 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.2486, allocations: 98.78 kB / 0.7379 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.2496, allocations: 482.4 kB / 0.7384 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.2496, allocations: 8 kB / 0.7384 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2497, allocations: 3.938 kB / 0.7384 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007132/0.2504, allocations: 458.9 kB / 0.7388 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.2525, allocations: 1.359 MB / 0.7401 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2525, allocations: 4 kB / 0.7401 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.2528, allocations: 75.88 kB / 0.7402 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2528, allocations: 0 / 0.7402 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.2529, allocations: 16.22 kB / 0.7402 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.2529, allocations: 11.94 kB / 0.7402 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2529, allocations: 4 kB / 0.7402 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2542, allocations: 0.763 MB / 0.741 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.2545, allocations: 223.7 kB / 0.7412 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2546, allocations: 8 kB / 0.7412 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.2552, allocations: 39.95 kB / 0.7412 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.2553, allocations: 23.97 kB / 0.7413 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.2553, allocations: 19.98 kB / 0.7413 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008859/0.2562, allocations: 0.6549 MB / 0.7419 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2562, allocations: 0 / 0.7419 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001073/0.2573, allocations: 343.4 kB / 0.7422 GB, free: 4.594 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.0008554/0.2581, allocations: 401.2 kB / 0.7426 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009069/0.2591, allocations: 424.6 kB / 0.743 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2591, allocations: 4.188 kB / 0.743 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.2594, allocations: 195.8 kB / 0.7432 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.262, allocations: 0.6126 MB / 0.7438 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.2644, allocations: 1.59 MB / 0.7454 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.265, allocations: 1.036 MB / 0.7464 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006408/0.2657, allocations: 188.3 kB / 0.7466 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.2659, allocations: 79.42 kB / 0.7466 GB, free: 56 kB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2659, allocations: 0 / 0.7466 GB, free: 56 kB / 0.5762 GB Notification: Performance of Templates: time 0.3315/0.5974, allocations: 21.35 MB / 0.7675 GB, free: 76.09 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)