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: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007051/0.007051, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001229/0.001229, allocations: 186.9 kB / 16.67 MB, free: 5.887 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7966/0.7966, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.19 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, allocations: 80.93 MB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04336/0.2065, allocations: 41.56 MB / 0.7052 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.2207, allocations: 10.38 MB / 0.7154 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.2226, allocations: 59.62 kB / 0.7154 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2244, allocations: 0.6638 MB / 0.7161 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.2295, allocations: 1.963 MB / 0.718 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.2326, allocations: 1.188 MB / 0.7192 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004377/0.237, allocations: 3.409 MB / 0.7225 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.2387, allocations: 1.064 MB / 0.7235 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.2417, allocations: 1.269 MB / 0.7248 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.2432, allocations: 0.8789 MB / 0.7256 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.2435, allocations: 100 kB / 0.7257 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.246, allocations: 0.8695 MB / 0.7266 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.2465, allocations: 279 kB / 0.7268 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2478, allocations: 0.626 MB / 0.7274 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.2516, allocations: 1.94 MB / 0.7293 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2516, allocations: 0 / 0.7293 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2516, allocations: 0 / 0.7293 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.659e-05/0.2516, allocations: 0 / 0.7293 GB, free: 3.316 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.002922/0.2546, allocations: 1.518 MB / 0.7308 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2546, allocations: 9.109 kB / 0.7308 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.255, allocations: 139.4 kB / 0.731 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.2569, allocations: 1.103 MB / 0.732 GB, free: 464 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.2569, allocations: 58 kB / 0.7321 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.257, allocations: 79.94 kB / 0.7322 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2584, allocations: 0.7905 MB / 0.7329 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2584, allocations: 3.938 kB / 0.7329 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.2585, allocations: 28 kB / 0.733 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.2586, allocations: 20 kB / 0.733 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2597, allocations: 0.575 MB / 0.7336 GB, free: 14.86 MB / 0.5762 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.004069/0.2637, allocations: 3.54 MB / 0.737 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.2643, allocations: 260.5 kB / 0.7373 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.2647, allocations: 178.4 kB / 0.7374 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.2652, allocations: 0.6615 MB / 0.7381 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2652, allocations: 34.56 kB / 0.7381 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.066e-06/0.2652, allocations: 3.984 kB / 0.7381 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001155/0.2664, allocations: 0.5158 MB / 0.7386 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2664, allocations: 55.41 kB / 0.7387 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2676, allocations: 0.9533 MB / 0.7396 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.2676, allocations: 33.7 kB / 0.7396 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.268, allocations: 0.4918 MB / 0.7401 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2682, allocations: 118.4 kB / 0.7402 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2683, allocations: 110.1 kB / 0.7403 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2684, allocations: 326 kB / 0.7406 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.2688, allocations: 169 kB / 0.7408 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.2692, allocations: 347 kB / 0.7411 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.27, allocations: 0.507 MB / 0.7416 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.27, allocations: 4 kB / 0.7416 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001085/0.2711, allocations: 0.6129 MB / 0.7422 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2711, allocations: 8 kB / 0.7422 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2712, allocations: 4.688 kB / 0.7422 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2712, allocations: 15.98 kB / 0.7423 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.2716, allocations: 123.8 kB / 0.7424 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2716, allocations: 15.88 kB / 0.7424 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.2722, allocations: 87.19 kB / 0.7425 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.2722, allocations: 27.98 kB / 0.7425 GB, free: 5.09 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.000311/0.2726, allocations: 265.7 kB / 0.7428 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2727, allocations: 102.8 kB / 0.7429 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/0.2736, allocations: 492.4 kB / 0.7433 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2736, allocations: 4 kB / 0.7433 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2737, allocations: 3.938 kB / 0.7433 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006921/0.2744, allocations: 462.9 kB / 0.7438 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.2763, allocations: 1.358 MB / 0.7451 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2763, allocations: 4 kB / 0.7451 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.2767, allocations: 72.02 kB / 0.7452 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.2767, allocations: 8 kB / 0.7452 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.2767, allocations: 8 kB / 0.7452 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2767, allocations: 3.938 kB / 0.7452 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.2767, allocations: 4 kB / 0.7452 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.278, allocations: 0.7797 MB / 0.746 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.2783, allocations: 219.8 kB / 0.7462 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2784, allocations: 8 kB / 0.7462 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.2789, allocations: 31.97 kB / 0.7462 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.2789, allocations: 23.97 kB / 0.7462 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.279, allocations: 24.05 kB / 0.7462 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000796/0.2798, allocations: 0.6588 MB / 0.7469 GB, free: 428 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2798, allocations: 0 / 0.7469 GB, free: 428 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008829/0.2807, allocations: 339.5 kB / 0.7472 GB, free: 88 kB / 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.3383/0.619, allocations: 389.8 kB / 0.7476 GB, free: 80.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.6203, allocations: 420.3 kB / 0.748 GB, free: 80.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6204, allocations: 0.625 kB / 0.748 GB, free: 80.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.6208, allocations: 181.8 kB / 0.7482 GB, free: 80.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.6238, allocations: 0.6089 MB / 0.7488 GB, free: 80.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.6264, allocations: 1.594 MB / 0.7503 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.627, allocations: 1.035 MB / 0.7513 GB, free: 79.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009061/0.6279, allocations: 195.2 kB / 0.7515 GB, free: 79.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.6281, allocations: 80.22 kB / 0.7516 GB, free: 79.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.6281, allocations: 0 / 0.7516 GB, free: 79.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.04672/0.6748, allocations: 21.37 MB / 0.7725 GB, free: 71.66 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)