Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.432/2.432, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 173.9 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008973, allocations: 85.19 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004488, allocations: 15.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04475/0.2353, allocations: 38.33 MB / 0.9369 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.2512, allocations: 9.612 MB / 0.9463 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.2529, allocations: 47.62 kB / 0.9464 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.2546, allocations: 465.1 kB / 0.9468 GB, free: 16.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.2596, allocations: 1.471 MB / 0.9482 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.2629, allocations: 0.8355 MB / 0.949 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005057/0.2679, allocations: 3.851 MB / 0.9528 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.2693, allocations: 0.7962 MB / 0.9536 GB, free: 10 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.2714, allocations: 0.9955 MB / 0.9546 GB, free: 9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2726, allocations: 0.801 MB / 0.9553 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.2728, allocations: 36 kB / 0.9554 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.2747, allocations: 498.8 kB / 0.9559 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.2749, allocations: 195.1 kB / 0.956 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.2753, allocations: 261.1 kB / 0.9563 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.277, allocations: 1.348 MB / 0.9576 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2771, allocations: 4 kB / 0.9576 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2771, allocations: 0 / 0.9576 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.2771, allocations: 0 / 0.9576 GB, free: 5.863 MB / 0.6042 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.002695/0.2798, allocations: 1.305 MB / 0.9589 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2799, allocations: 8.031 kB / 0.9589 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.2803, allocations: 135.4 kB / 0.959 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.2824, allocations: 1.03 MB / 0.96 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.2824, allocations: 54 kB / 0.9601 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2826, allocations: 75.94 kB / 0.9601 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.2844, allocations: 0.7866 MB / 0.9609 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.2844, allocations: 4 kB / 0.9609 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.2845, allocations: 28 kB / 0.9609 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.2845, allocations: 23.94 kB / 0.961 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2862, allocations: 0.5906 MB / 0.9615 GB, free: 1.695 MB / 0.6042 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.005878/0.2921, allocations: 3.532 MB / 0.965 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.2931, allocations: 275.4 kB / 0.9653 GB, free: 13.65 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.2937, allocations: 184.8 kB / 0.9654 GB, free: 13.47 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/0.2944, allocations: 0.6576 MB / 0.9661 GB, free: 12.66 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.2945, allocations: 34.56 kB / 0.9661 GB, free: 12.62 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=31): time 3.196e-06/0.2945, allocations: 0 / 0.9661 GB, free: 12.62 MB / 0.6199 GB Notification: Performance of matching and sorting (n=31): time 0.002046/0.2965, allocations: 0.5522 MB / 0.9666 GB, free: 12.06 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2966, allocations: 51.41 kB / 0.9667 GB, free: 12 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.2984, allocations: 0.9137 MB / 0.9676 GB, free: 11.07 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 8.278e-05/0.2985, allocations: 41.64 kB / 0.9676 GB, free: 11.02 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.2991, allocations: 499.6 kB / 0.9681 GB, free: 10.52 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.2993, allocations: 114.4 kB / 0.9682 GB, free: 10.41 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.2994, allocations: 8 kB / 0.9682 GB, free: 10.4 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2995, allocations: 333.8 kB / 0.9685 GB, free: 10.07 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/0.3002, allocations: 173 kB / 0.9687 GB, free: 9.898 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.301, allocations: 359 kB / 0.969 GB, free: 9.473 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.3017, allocations: 231.8 kB / 0.9693 GB, free: 9.246 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.3018, allocations: 0 / 0.9693 GB, free: 9.246 MB / 0.6199 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001929/0.3037, allocations: 0.6327 MB / 0.9699 GB, free: 8.605 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3037, allocations: 10.03 kB / 0.9699 GB, free: 8.598 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3038, allocations: 4 kB / 0.9699 GB, free: 8.594 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.3038, allocations: 11.98 kB / 0.9699 GB, free: 8.582 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/0.3047, allocations: 140.3 kB / 0.97 GB, free: 8.445 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.3047, allocations: 11.94 kB / 0.9701 GB, free: 8.434 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3059, allocations: 115.2 kB / 0.9702 GB, free: 8.32 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.306, allocations: 24 kB / 0.9702 GB, free: 8.297 MB / 0.6199 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.0005718/0.3066, allocations: 274.7 kB / 0.9705 GB, free: 8.016 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.3068, allocations: 106.8 kB / 0.9706 GB, free: 7.91 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.3085, allocations: 0.49 MB / 0.971 GB, free: 7.418 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.3097, allocations: 476.6 kB / 0.9715 GB, free: 6.922 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3097, allocations: 0 / 0.9715 GB, free: 6.922 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/0.3103, allocations: 235.7 kB / 0.9717 GB, free: 6.672 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3105, allocations: 11.94 kB / 0.9717 GB, free: 6.66 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.3115, allocations: 63.72 kB / 0.9718 GB, free: 6.598 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.3116, allocations: 23.97 kB / 0.9718 GB, free: 6.574 MB / 0.6199 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00178/0.3134, allocations: 0.5199 MB / 0.9723 GB, free: 6.047 MB / 0.6199 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002221/0.3157, allocations: 0.8652 MB / 0.9732 GB, free: 5.164 MB / 0.6199 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000579/0.3163, allocations: 188.9 kB / 0.9733 GB, free: 4.98 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.001301/0.3176, allocations: 0.631 MB / 0.974 GB, free: 4.34 MB / 0.6199 GB Notification: Performance of Backend: time 6.41e-07/0.3176, allocations: 0 / 0.974 GB, free: 4.34 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.3203, allocations: 0.6698 MB / 0.9746 GB, free: 3.676 MB / 0.6199 GB Notification: Performance of SimCode: time 0.007656/0.3279, allocations: 2.796 MB / 0.9773 GB, free: 0.8281 MB / 0.6199 GB Notification: Performance of Templates: time 0.05435/0.3823, allocations: 19.72 MB / 0.9966 GB, free: 13.3 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)