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.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001245/0.001245, allocations: 191 kB / 16.25 MB, free: 6.617 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.196/1.196, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.602/1.602, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001502/0.001502, allocations: 63.08 kB / 0.6711 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1781, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.556/0.7342, allocations: 168.8 MB / 0.9478 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005424/0.7396, allocations: 4.252 MB / 0.9519 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.7403, allocations: 19.38 kB / 0.9519 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.7412, allocations: 310.2 kB / 0.9522 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.7438, allocations: 1.138 MB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.7456, allocations: 0.7275 MB / 0.954 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001996/0.7476, allocations: 1.67 MB / 0.9557 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.7483, allocations: 0.5523 MB / 0.9562 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.7494, allocations: 0.6805 MB / 0.9569 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.7505, allocations: 0.5995 MB / 0.9575 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.7507, allocations: 65.62 kB / 0.9575 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.7524, allocations: 0.8348 MB / 0.9583 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.7527, allocations: 270.3 kB / 0.9586 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005553/0.7532, allocations: 408 kB / 0.959 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.7548, allocations: 1.313 MB / 0.9603 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7548, allocations: 0 / 0.9603 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7548, allocations: 0 / 0.9603 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.7548, allocations: 1.062 kB / 0.9603 GB, free: 5.488 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.001773/0.7566, allocations: 1.037 MB / 0.9613 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7566, allocations: 9.188 kB / 0.9613 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.7567, allocations: 99.84 kB / 0.9614 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009943/0.7577, allocations: 160.5 kB / 0.9615 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.7584, allocations: 0.5165 MB / 0.9621 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.7585, allocations: 43.73 kB / 0.9621 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.7585, allocations: 53.23 kB / 0.9621 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.7596, allocations: 0.6518 MB / 0.9628 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.7596, allocations: 0 / 0.9628 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.7597, allocations: 24.19 kB / 0.9628 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.7597, allocations: 27.53 kB / 0.9628 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.7606, allocations: 0.509 MB / 0.9633 GB, free: 20.45 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.002943/0.7635, allocations: 2.301 MB / 0.9656 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.764, allocations: 267.4 kB / 0.9658 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.7642, allocations: 138.6 kB / 0.966 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.7643, allocations: 5.797 kB / 0.966 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.7643, allocations: 36.88 kB / 0.966 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 2.023e-06/0.7643, allocations: 0 / 0.966 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001603/0.7659, allocations: 0.6721 MB / 0.9667 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.766, allocations: 82.42 kB / 0.9667 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.7666, allocations: 0.5545 MB / 0.9673 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.7666, allocations: 31.64 kB / 0.9673 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.7668, allocations: 336.3 kB / 0.9676 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.7668, allocations: 69.25 kB / 0.9677 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.767, allocations: 69.17 kB / 0.9678 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7671, allocations: 363.6 kB / 0.9681 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.7674, allocations: 130.8 kB / 0.9682 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.7676, allocations: 222.5 kB / 0.9684 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.7681, allocations: 331.2 kB / 0.9688 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7681, allocations: 0 / 0.9688 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008952/0.769, allocations: 0.495 MB / 0.9692 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.769, allocations: 6.094 kB / 0.9692 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7691, allocations: 3.5 kB / 0.9693 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.7694, allocations: 100.2 kB / 0.9693 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.7697, allocations: 67.25 kB / 0.9694 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.7724, allocations: 3.359 MB / 0.9727 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.773, allocations: 63.38 kB / 0.9728 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.773, allocations: 16.41 kB / 0.9728 GB, free: 15.2 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.0002517/0.7733, allocations: 220 kB / 0.973 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.7734, allocations: 51.72 kB / 0.973 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.7735, allocations: 52.92 kB / 0.9731 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7735, allocations: 2.688 kB / 0.9731 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7735, allocations: 8 kB / 0.9731 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006819/0.7742, allocations: 0.5305 MB / 0.9736 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.7754, allocations: 0.9187 MB / 0.9745 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7754, allocations: 2 kB / 0.9745 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.7756, allocations: 43.91 kB / 0.9745 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.7758, allocations: 68.67 kB / 0.9746 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.7758, allocations: 5.344 kB / 0.9746 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.7774, allocations: 1.822 MB / 0.9764 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7774, allocations: 4.188 kB / 0.9764 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.778, allocations: 437.9 kB / 0.9768 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.7782, allocations: 170.5 kB / 0.977 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.7783, allocations: 9.094 kB / 0.977 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.7788, allocations: 29.91 kB / 0.977 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.7788, allocations: 22.94 kB / 0.977 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.7789, allocations: 16.22 kB / 0.9771 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003996/0.7793, allocations: 398.1 kB / 0.9774 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7793, allocations: 0 / 0.9774 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006769/0.78, allocations: 206 kB / 0.9776 GB, free: 12.54 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.001059/0.781, allocations: 1.025 MB / 0.9786 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008058/0.7819, allocations: 0.5517 MB / 0.9792 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7819, allocations: 2.531 kB / 0.9792 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.7822, allocations: 253.8 kB / 0.9794 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.7838, allocations: 381 kB / 0.9798 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.7892, allocations: 4.701 MB / 0.9844 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.7897, allocations: 0.9151 MB / 0.9853 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004596/0.7901, allocations: 107.7 kB / 0.9854 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.7903, allocations: 192.8 kB / 0.9856 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.7903, allocations: 0 / 0.9856 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.8272, allocations: 17.4 MB / 1.003 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.8275, allocations: 285.7 kB / 1.003 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.956, allocations: 1.875 kB / 1.003 GB, free: 3.348 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)