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.0007671/0.0007671, allocations: 92 kB / 15.36 MB, free: 0.7383 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.004146/0.004146, allocations: 170.6 kB / 16.26 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.281/1.281, allocations: 205.4 MB / 222.4 MB, free: 5.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.697/1.697, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005293/0.0005293, allocations: 12.12 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6003/0.8136, allocations: 166.6 MB / 0.9507 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006015/0.8197, allocations: 4.273 MB / 0.9549 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.8204, allocations: 18.03 kB / 0.9549 GB, free: 140 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000916/0.8213, allocations: 314.4 kB / 0.9552 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.8243, allocations: 1.14 MB / 0.9563 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.8261, allocations: 0.7129 MB / 0.957 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.8286, allocations: 2.343 MB / 0.9593 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.8292, allocations: 471.7 kB / 0.9597 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.8303, allocations: 0.574 MB / 0.9603 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.8313, allocations: 0.5598 MB / 0.9608 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.8314, allocations: 25.81 kB / 0.9608 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.833, allocations: 0.907 MB / 0.9617 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.8333, allocations: 227.2 kB / 0.9619 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.8337, allocations: 380.9 kB / 0.9623 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.8351, allocations: 1.263 MB / 0.9635 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8351, allocations: 4 kB / 0.9636 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8351, allocations: 0 / 0.9636 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8351, allocations: 1.312 kB / 0.9636 GB, free: 15.09 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.001594/0.8367, allocations: 0.8945 MB / 0.9644 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8367, allocations: 9.594 kB / 0.9644 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.8369, allocations: 104.8 kB / 0.9645 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.8379, allocations: 163.1 kB / 0.9647 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.8386, allocations: 0.5166 MB / 0.9652 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.8387, allocations: 40.94 kB / 0.9652 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.8388, allocations: 48.5 kB / 0.9653 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.8399, allocations: 0.6665 MB / 0.9659 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8399, allocations: 0 / 0.9659 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.84, allocations: 24.75 kB / 0.966 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.84, allocations: 23.31 kB / 0.966 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.841, allocations: 0.5229 MB / 0.9665 GB, free: 14.04 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.003298/0.8443, allocations: 2.305 MB / 0.9687 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.8448, allocations: 276.8 kB / 0.969 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.8451, allocations: 136.2 kB / 0.9691 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.8451, allocations: 8.125 kB / 0.9691 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.8452, allocations: 36.94 kB / 0.9692 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 3.246e-06/0.8452, allocations: 0 / 0.9692 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001723/0.8469, allocations: 0.6859 MB / 0.9698 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.847, allocations: 83.73 kB / 0.9699 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.8476, allocations: 0.5541 MB / 0.9705 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.8477, allocations: 28.86 kB / 0.9705 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.8479, allocations: 337.4 kB / 0.9708 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.848, allocations: 71.81 kB / 0.9709 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.848, allocations: 35.23 kB / 0.9709 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8482, allocations: 361.3 kB / 0.9713 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.8485, allocations: 131.4 kB / 0.9714 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.8488, allocations: 227.8 kB / 0.9716 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.8494, allocations: 337.9 kB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8494, allocations: 1.344 kB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009664/0.8503, allocations: 0.5034 MB / 0.9724 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8504, allocations: 11.03 kB / 0.9724 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8504, allocations: 1.438 kB / 0.9724 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.8507, allocations: 98.89 kB / 0.9725 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.851, allocations: 72.56 kB / 0.9726 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.8541, allocations: 3.11 MB / 0.9756 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/0.8547, allocations: 64.61 kB / 0.9757 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.8547, allocations: 13.81 kB / 0.9757 GB, free: 8.156 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.0002918/0.855, allocations: 219.9 kB / 0.9759 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.8551, allocations: 55.88 kB / 0.976 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-05/0.8552, allocations: 60.03 kB / 0.976 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.8552, allocations: 7.25 kB / 0.976 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8552, allocations: 4 kB / 0.976 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007243/0.856, allocations: 0.5384 MB / 0.9766 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.8572, allocations: 0.9217 MB / 0.9775 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8572, allocations: 3.344 kB / 0.9775 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.8574, allocations: 41.34 kB / 0.9775 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.8576, allocations: 74.58 kB / 0.9776 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.8577, allocations: 3.5 kB / 0.9776 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.8592, allocations: 1.682 MB / 0.9792 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8592, allocations: 7.656 kB / 0.9792 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.8599, allocations: 464.7 kB / 0.9797 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.8601, allocations: 163.1 kB / 0.9798 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.8602, allocations: 5.906 kB / 0.9798 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.8606, allocations: 39.2 kB / 0.9799 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.8607, allocations: 20.75 kB / 0.9799 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.8608, allocations: 13.52 kB / 0.9799 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003942/0.8612, allocations: 394 kB / 0.9803 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8612, allocations: 0 / 0.9803 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006426/0.8618, allocations: 211.3 kB / 0.9805 GB, free: 5.074 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.00122/0.8631, allocations: 1.045 MB / 0.9815 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00088/0.8639, allocations: 0.5455 MB / 0.982 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.864, allocations: 1.625 kB / 0.982 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.8643, allocations: 258.9 kB / 0.9823 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.8662, allocations: 357.7 kB / 0.9826 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.8722, allocations: 4.779 MB / 0.9873 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8726, allocations: 0.913 MB / 0.9882 GB, free: 148 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.8731, allocations: 108 kB / 0.9883 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.8735, allocations: 198.5 kB / 0.9885 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.8735, allocations: 4 kB / 0.9885 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6141/1.488, allocations: 16.66 MB / 1.005 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/1.488, allocations: 285.8 kB / 1.005 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/3.571, allocations: 0 / 1.005 GB, free: 7.66 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)