Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001146/0.001146, allocations: 193.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.33 kB / 0.6709 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4621/0.6262, allocations: 168.8 MB / 0.9476 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004599/0.6308, allocations: 4.325 MB / 0.9519 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.6312, allocations: 19.28 kB / 0.9519 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.632, allocations: 306.3 kB / 0.9522 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.634, allocations: 1.139 MB / 0.9533 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.6354, allocations: 0.7197 MB / 0.954 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.6374, allocations: 2.342 MB / 0.9563 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.638, allocations: 487.1 kB / 0.9567 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008317/0.6388, allocations: 0.5989 MB / 0.9573 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.64, allocations: 0.569 MB / 0.9579 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.6401, allocations: 32.41 kB / 0.9579 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.6417, allocations: 0.9145 MB / 0.9588 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.6419, allocations: 244.3 kB / 0.959 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.6423, allocations: 375.2 kB / 0.9594 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.6435, allocations: 1.277 MB / 0.9606 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6435, allocations: 0 / 0.9606 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6435, allocations: 0 / 0.9606 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6435, allocations: 1.031 kB / 0.9606 GB, free: 5.234 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00166/0.6452, allocations: 1.031 MB / 0.9616 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6452, allocations: 9.312 kB / 0.9617 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.6453, allocations: 99.94 kB / 0.9617 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.6463, allocations: 169.2 kB / 0.9619 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.647, allocations: 0.5123 MB / 0.9624 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.647, allocations: 39.38 kB / 0.9624 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.6471, allocations: 52.14 kB / 0.9625 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009683/0.648, allocations: 0.6535 MB / 0.9631 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6481, allocations: 5.156 kB / 0.9631 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.6481, allocations: 23.44 kB / 0.9632 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.6482, allocations: 27.7 kB / 0.9632 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.649, allocations: 0.5092 MB / 0.9637 GB, free: 20.2 MB / 0.7481 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.002782/0.6518, allocations: 2.306 MB / 0.9659 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.6523, allocations: 253.1 kB / 0.9662 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.6525, allocations: 143.3 kB / 0.9663 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.6525, allocations: 2.75 kB / 0.9663 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.6525, allocations: 43.5 kB / 0.9664 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.6525, allocations: 0 / 0.9664 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001529/0.6541, allocations: 0.6817 MB / 0.967 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.6541, allocations: 79.45 kB / 0.9671 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.6547, allocations: 0.554 MB / 0.9676 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.6547, allocations: 32.73 kB / 0.9677 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.6549, allocations: 327.1 kB / 0.968 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6549, allocations: 72.59 kB / 0.9681 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6551, allocations: 72.75 kB / 0.9681 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6552, allocations: 363.4 kB / 0.9685 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.6554, allocations: 129.8 kB / 0.9686 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.6557, allocations: 228.9 kB / 0.9688 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.6562, allocations: 329.2 kB / 0.9691 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6562, allocations: 1.438 kB / 0.9691 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00082/0.657, allocations: 0.496 MB / 0.9696 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.657, allocations: 5.062 kB / 0.9696 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.657, allocations: 2.312 kB / 0.9696 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.6573, allocations: 95.48 kB / 0.9697 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.6577, allocations: 71.95 kB / 0.9698 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.6601, allocations: 3.099 MB / 0.9728 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.6606, allocations: 64.64 kB / 0.9729 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.6607, allocations: 12.88 kB / 0.9729 GB, free: 15.13 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.6609, allocations: 228.5 kB / 0.9731 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.661, allocations: 51.19 kB / 0.9731 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.6611, allocations: 52.95 kB / 0.9732 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6611, allocations: 1.469 kB / 0.9732 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6611, allocations: 4.969 kB / 0.9732 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006927/0.6618, allocations: 0.5381 MB / 0.9737 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6629, allocations: 0.9052 MB / 0.9746 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6629, allocations: 1.938 kB / 0.9746 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.6631, allocations: 41.77 kB / 0.9747 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.6633, allocations: 74.39 kB / 0.9747 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.6633, allocations: 6.094 kB / 0.9747 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.6647, allocations: 1.688 MB / 0.9764 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6648, allocations: 1.375 kB / 0.9764 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.6653, allocations: 446.6 kB / 0.9768 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.6655, allocations: 168.2 kB / 0.977 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.6656, allocations: 4.5 kB / 0.977 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.6661, allocations: 32.53 kB / 0.977 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.6662, allocations: 22.95 kB / 0.977 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.6662, allocations: 14.84 kB / 0.977 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003778/0.6666, allocations: 395 kB / 0.9774 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6666, allocations: 3.938 kB / 0.9774 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006033/0.6672, allocations: 205.9 kB / 0.9776 GB, free: 12.56 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.6682, allocations: 1.02 MB / 0.9786 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007533/0.669, allocations: 0.5432 MB / 0.9791 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.669, allocations: 1.375 kB / 0.9791 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.6694, allocations: 245.2 kB / 0.9794 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.6709, allocations: 369.8 kB / 0.9797 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.6761, allocations: 4.708 MB / 0.9843 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6765, allocations: 0.9085 MB / 0.9852 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004031/0.6769, allocations: 104.6 kB / 0.9853 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.6771, allocations: 189.7 kB / 0.9855 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.6771, allocations: 0 / 0.9855 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.019/3.696, allocations: 16.86 MB / 1.002 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/3.697, allocations: 282.7 kB / 1.002 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/5.881, allocations: 0 / 1.002 GB, free: 2.863 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)