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.000916/0.0009198, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.1/1.1, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.477/1.477, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001295/0.001295, allocations: 75.41 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4532/0.6168, allocations: 171.1 MB / 0.9505 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.6215, allocations: 4.269 MB / 0.9547 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.6218, allocations: 21.56 kB / 0.9547 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.6225, allocations: 354.4 kB / 0.955 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.6243, allocations: 1.214 MB / 0.9562 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.6255, allocations: 0.7778 MB / 0.957 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.6267, allocations: 1.678 MB / 0.9586 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.6273, allocations: 0.5595 MB / 0.9592 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.628, allocations: 0.6803 MB / 0.9598 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.6289, allocations: 0.5521 MB / 0.9604 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.629, allocations: 66 kB / 0.9604 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.63, allocations: 0.7952 MB / 0.9612 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.6302, allocations: 275.2 kB / 0.9615 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.6306, allocations: 403.5 kB / 0.9619 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.6317, allocations: 1.261 MB / 0.9631 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6317, allocations: 0 / 0.9631 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6317, allocations: 0.6562 kB / 0.9631 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.6317, allocations: 0 / 0.9631 GB, free: 15.95 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.001455/0.6332, allocations: 1.036 MB / 0.9641 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.6332, allocations: 8.344 kB / 0.9641 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.6333, allocations: 99.23 kB / 0.9642 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.6342, allocations: 162.8 kB / 0.9644 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.6348, allocations: 0.5246 MB / 0.9649 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.6349, allocations: 37.28 kB / 0.9649 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.6349, allocations: 50.84 kB / 0.965 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.6358, allocations: 0.6487 MB / 0.9656 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6358, allocations: 4 kB / 0.9656 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.6359, allocations: 26.05 kB / 0.9656 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.6359, allocations: 27.92 kB / 0.9656 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.6367, allocations: 0.5116 MB / 0.9661 GB, free: 14.88 MB / 0.7325 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.002647/0.6394, allocations: 2.306 MB / 0.9684 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.6398, allocations: 266.5 kB / 0.9686 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.64, allocations: 139.6 kB / 0.9688 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.64, allocations: 4.188 kB / 0.9688 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.6401, allocations: 38.69 kB / 0.9688 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.6401, allocations: 0 / 0.9688 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.00141/0.6415, allocations: 0.6731 MB / 0.9695 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.6416, allocations: 79.86 kB / 0.9696 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.642, allocations: 0.5575 MB / 0.9701 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.6421, allocations: 35.58 kB / 0.9701 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.6423, allocations: 330.8 kB / 0.9704 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.6423, allocations: 71.67 kB / 0.9705 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.6424, allocations: 70.36 kB / 0.9706 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6425, allocations: 363.8 kB / 0.9709 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.6428, allocations: 126.9 kB / 0.9711 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.643, allocations: 226.1 kB / 0.9713 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.6435, allocations: 330.9 kB / 0.9716 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6435, allocations: 0 / 0.9716 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007871/0.6443, allocations: 0.4936 MB / 0.9721 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6443, allocations: 5.594 kB / 0.9721 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6443, allocations: 6.375 kB / 0.9721 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.6446, allocations: 94.61 kB / 0.9722 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.6449, allocations: 69.84 kB / 0.9722 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3686/1.014, allocations: 3.347 MB / 0.9755 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008755/1.014, allocations: 53.31 kB / 0.9756 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/1.014, allocations: 9.094 kB / 0.9756 GB, free: 9.148 MB / 0.7325 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.0003518/1.015, allocations: 220.2 kB / 0.9758 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.015, allocations: 59.05 kB / 0.9758 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.015, allocations: 54.78 kB / 0.9759 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/1.015, allocations: 7.312 kB / 0.9759 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.015, allocations: 3.938 kB / 0.9759 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007835/1.016, allocations: 0.5242 MB / 0.9764 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.017, allocations: 0.9096 MB / 0.9773 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.017, allocations: 6.656 kB / 0.9773 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/1.017, allocations: 44.69 kB / 0.9773 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/1.018, allocations: 63.92 kB / 0.9774 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.018, allocations: 6.875 kB / 0.9774 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/1.019, allocations: 1.829 MB / 0.9792 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.019, allocations: 2.906 kB / 0.9792 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/1.02, allocations: 435.9 kB / 0.9796 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/1.02, allocations: 171.7 kB / 0.9798 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/1.02, allocations: 6.469 kB / 0.9798 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/1.02, allocations: 24.66 kB / 0.9798 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/1.02, allocations: 23.66 kB / 0.9798 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/1.02, allocations: 19.89 kB / 0.9798 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000358/1.021, allocations: 392.3 kB / 0.9802 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.021, allocations: 0 / 0.9802 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005722/1.021, allocations: 208.8 kB / 0.9804 GB, free: 5.488 MB / 0.7325 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.0009504/1.022, allocations: 1.029 MB / 0.9814 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007975/1.023, allocations: 0.5411 MB / 0.982 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.023, allocations: 1.5 kB / 0.982 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/1.023, allocations: 259.3 kB / 0.9822 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/1.025, allocations: 376 kB / 0.9826 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/1.03, allocations: 4.511 MB / 0.987 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/1.03, allocations: 0.9112 MB / 0.9879 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003763/1.031, allocations: 116.5 kB / 0.988 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/1.031, allocations: 190.1 kB / 0.9881 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/1.031, allocations: 0 / 0.9881 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.131/6.162, allocations: 17.61 MB / 1.005 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/20.28, allocations: 10.44 kB / 1.005 GB, free: 7.27 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)