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.0008588/0.0008589, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0009146/0.0009146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.761/1.761, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005369/0.000537, allocations: 13.78 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2495, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6641/0.9137, allocations: 155.4 MB / 0.9392 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006053/0.9198, allocations: 4.01 MB / 0.9431 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.9208, allocations: 19.09 kB / 0.9431 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.9217, allocations: 236.5 kB / 0.9433 GB, free: 5.316 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002873/0.9245, allocations: 0.8945 MB / 0.9442 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.9266, allocations: 0.5604 MB / 0.9448 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.9296, allocations: 1.974 MB / 0.9467 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.9304, allocations: 414.6 kB / 0.9471 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.932, allocations: 0.5765 MB / 0.9476 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.9332, allocations: 0.5294 MB / 0.9482 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.9334, allocations: 26.62 kB / 0.9482 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.935, allocations: 408.5 kB / 0.9486 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.9354, allocations: 229.9 kB / 0.9488 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/0.9359, allocations: 168.8 kB / 0.949 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.9371, allocations: 0.8838 MB / 0.9498 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9371, allocations: 0 / 0.9498 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9371, allocations: 1.062 kB / 0.9498 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.9371, allocations: 0 / 0.9498 GB, free: 20.52 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.001681/0.9388, allocations: 0.9091 MB / 0.9507 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.9389, allocations: 9.5 kB / 0.9507 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.939, allocations: 99 kB / 0.9508 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/0.94, allocations: 164 kB / 0.951 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/0.9408, allocations: 0.4975 MB / 0.9514 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.9408, allocations: 44.41 kB / 0.9515 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.9409, allocations: 50 kB / 0.9515 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.942, allocations: 0.653 MB / 0.9522 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.942, allocations: 1.859 kB / 0.9522 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.9421, allocations: 29.34 kB / 0.9522 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.9422, allocations: 34.36 kB / 0.9522 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.9431, allocations: 0.5181 MB / 0.9527 GB, free: 19.47 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.003228/0.9463, allocations: 2.299 MB / 0.955 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.9468, allocations: 260.3 kB / 0.9552 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.9471, allocations: 140.6 kB / 0.9554 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.9471, allocations: 8.641 kB / 0.9554 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.9471, allocations: 38 kB / 0.9554 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.9471, allocations: 3.938 kB / 0.9554 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001603/0.9488, allocations: 0.6912 MB / 0.9561 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.9488, allocations: 79.95 kB / 0.9562 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.9495, allocations: 0.5414 MB / 0.9567 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.9495, allocations: 31.2 kB / 0.9567 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.9497, allocations: 338.5 kB / 0.9571 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.9498, allocations: 72.98 kB / 0.9571 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.9498, allocations: 5.781 kB / 0.9571 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002698/0.9501, allocations: 362.8 kB / 0.9575 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.9504, allocations: 134.8 kB / 0.9576 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.9507, allocations: 225 kB / 0.9578 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.951, allocations: 165.9 kB / 0.958 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.951, allocations: 2.75 kB / 0.958 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009426/0.9519, allocations: 0.4983 MB / 0.9585 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.952, allocations: 7.969 kB / 0.9585 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.952, allocations: 9.031 kB / 0.9585 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.9523, allocations: 98.7 kB / 0.9586 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.9526, allocations: 69.61 kB / 0.9586 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/0.956, allocations: 3.105 MB / 0.9617 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008975/0.957, allocations: 63.14 kB / 0.9617 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.957, allocations: 15.47 kB / 0.9617 GB, free: 14.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.9576, allocations: 214.8 kB / 0.962 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.9578, allocations: 58.67 kB / 0.962 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.9579, allocations: 54.75 kB / 0.9621 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.958, allocations: 2.281 kB / 0.9621 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.958, allocations: 1.781 kB / 0.9621 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009345/0.9589, allocations: 0.5388 MB / 0.9626 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.9606, allocations: 0.9312 MB / 0.9635 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9606, allocations: 1.156 kB / 0.9635 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.9608, allocations: 41.55 kB / 0.9635 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.9611, allocations: 70.69 kB / 0.9636 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.9611, allocations: 5.344 kB / 0.9636 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.9629, allocations: 1.689 MB / 0.9653 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.9629, allocations: 1.156 kB / 0.9653 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.9636, allocations: 453.6 kB / 0.9657 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.9639, allocations: 169.5 kB / 0.9659 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.964, allocations: 4.562 kB / 0.9659 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.9644, allocations: 40.23 kB / 0.9659 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.9645, allocations: 21.73 kB / 0.9659 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.9646, allocations: 11.83 kB / 0.9659 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004706/0.965, allocations: 392.1 kB / 0.9663 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.02e-07/0.9651, allocations: 0 / 0.9663 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007692/0.9658, allocations: 211.2 kB / 0.9665 GB, free: 11.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/0.9672, allocations: 1.038 MB / 0.9675 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008949/0.9681, allocations: 0.5397 MB / 0.968 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.9681, allocations: 1.5 kB / 0.9681 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.9684, allocations: 254.3 kB / 0.9683 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.97, allocations: 364.4 kB / 0.9686 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.9747, allocations: 3.129 MB / 0.9717 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.9753, allocations: 0.9068 MB / 0.9726 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005553/0.9759, allocations: 109.7 kB / 0.9727 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.9761, allocations: 189.5 kB / 0.9729 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.9761, allocations: 0 / 0.9729 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/1.011, allocations: 17.06 MB / 0.9895 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.011, allocations: 261.3 kB / 0.9898 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.194, allocations: 1.859 kB / 0.9898 GB, free: 0.9961 MB / 0.7325 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/linux/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) Environment - environmentSimulation: