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.001487/0.001487, allocations: 109.4 kB / 15.69 MB, free: 128 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.001717/0.001716, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.676/1.676, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001567/0.001567, allocations: 75.59 kB / 0.6718 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2144, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5719/0.7864, allocations: 171.1 MB / 0.9507 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00783/0.7943, allocations: 4.266 MB / 0.9548 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008577/0.7953, allocations: 21.09 kB / 0.9549 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009912/0.7963, allocations: 353 kB / 0.9552 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.799, allocations: 1.215 MB / 0.9564 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.8009, allocations: 0.7883 MB / 0.9571 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.8028, allocations: 1.67 MB / 0.9588 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007304/0.8036, allocations: 0.5682 MB / 0.9593 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.8046, allocations: 0.6734 MB / 0.96 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.8058, allocations: 0.5606 MB / 0.9605 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.8059, allocations: 65.25 kB / 0.9606 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.8072, allocations: 0.8 MB / 0.9614 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.8075, allocations: 270.7 kB / 0.9616 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004841/0.808, allocations: 400.5 kB / 0.962 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.8096, allocations: 1.271 MB / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8096, allocations: 0 / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8096, allocations: 0 / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.8096, allocations: 1.5 kB / 0.9633 GB, free: 15.99 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.001743/0.8114, allocations: 1.032 MB / 0.9643 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8114, allocations: 9.281 kB / 0.9643 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.8116, allocations: 103.6 kB / 0.9644 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/0.8125, allocations: 158.2 kB / 0.9645 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.8133, allocations: 0.5352 MB / 0.965 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.8133, allocations: 40.25 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.8134, allocations: 50.94 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.8144, allocations: 0.6511 MB / 0.9658 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.8145, allocations: 0 / 0.9658 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.8145, allocations: 24.12 kB / 0.9658 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.8146, allocations: 26.91 kB / 0.9658 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008772/0.8154, allocations: 0.5088 MB / 0.9663 GB, free: 14.93 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.002955/0.8184, allocations: 2.291 MB / 0.9686 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.8189, allocations: 259.5 kB / 0.9688 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.8191, allocations: 134.8 kB / 0.9689 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.8192, allocations: 15.52 kB / 0.9689 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.8192, allocations: 42.38 kB / 0.969 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.8192, allocations: 0 / 0.969 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001537/0.8208, allocations: 0.6711 MB / 0.9696 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.8208, allocations: 84.77 kB / 0.9697 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.8214, allocations: 0.5567 MB / 0.9703 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.8215, allocations: 31.98 kB / 0.9703 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.8217, allocations: 330.1 kB / 0.9706 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.8217, allocations: 72.3 kB / 0.9707 GB, free: 13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8219, allocations: 69.42 kB / 0.9707 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.822, allocations: 364.5 kB / 0.9711 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.8222, allocations: 132.1 kB / 0.9712 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.8225, allocations: 214.5 kB / 0.9714 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.823, allocations: 334.1 kB / 0.9717 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.823, allocations: 1.031 kB / 0.9717 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008493/0.8239, allocations: 0.4951 MB / 0.9722 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8239, allocations: 6.281 kB / 0.9722 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8239, allocations: 2.969 kB / 0.9722 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.8242, allocations: 90.08 kB / 0.9723 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.8245, allocations: 75.98 kB / 0.9724 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/0.8275, allocations: 3.34 MB / 0.9757 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.8279, allocations: 49.53 kB / 0.9757 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.828, allocations: 16.5 kB / 0.9757 GB, free: 9.195 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.0002375/0.8282, allocations: 218.7 kB / 0.9759 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.8283, allocations: 51.81 kB / 0.976 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.872e-05/0.8284, allocations: 57.83 kB / 0.976 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8284, allocations: 8.562 kB / 0.976 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8284, allocations: 3.938 kB / 0.976 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006582/0.8291, allocations: 0.5268 MB / 0.9766 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.8302, allocations: 0.9191 MB / 0.9775 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8303, allocations: 2.344 kB / 0.9775 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.8305, allocations: 41.86 kB / 0.9775 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.8306, allocations: 62.36 kB / 0.9776 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.8307, allocations: 6.469 kB / 0.9776 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.8322, allocations: 1.825 MB / 0.9793 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.8322, allocations: 0 / 0.9793 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.8328, allocations: 440 kB / 0.9798 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.833, allocations: 172.8 kB / 0.9799 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.8331, allocations: 11.25 kB / 0.9799 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.8335, allocations: 24.92 kB / 0.98 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.8335, allocations: 19.59 kB / 0.98 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.8336, allocations: 18.89 kB / 0.98 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003827/0.834, allocations: 391.6 kB / 0.9804 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.834, allocations: 0 / 0.9804 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005894/0.8346, allocations: 203 kB / 0.9806 GB, free: 5.52 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.001082/0.8357, allocations: 1.032 MB / 0.9816 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008004/0.8365, allocations: 0.5388 MB / 0.9821 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8365, allocations: 0 / 0.9821 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.8369, allocations: 259.2 kB / 0.9824 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.8384, allocations: 368.1 kB / 0.9827 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.8434, allocations: 4.438 MB / 0.987 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.8439, allocations: 0.905 MB / 0.9879 GB, free: 148 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003561/0.8442, allocations: 112.8 kB / 0.988 GB, free: 96 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.8445, allocations: 197.4 kB / 0.9882 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.8445, allocations: 2.75 kB / 0.9882 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.8863, allocations: 17.63 MB / 1.005 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12, allocations: 16.39 kB / 1.005 GB, free: 7.426 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)