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.001187/0.001187, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001366/0.001366, allocations: 177.3 kB / 15.94 MB, free: 228 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.687/1.687, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005478/0.0005479, allocations: 14.72 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2955, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.8283/1.124, allocations: 143.1 MB / 0.9269 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007161/1.131, allocations: 4.103 MB / 0.9309 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/1.132, allocations: 19.44 kB / 0.931 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/1.133, allocations: 317.1 kB / 0.9313 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003512/1.137, allocations: 0.9942 MB / 0.9322 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/1.14, allocations: 0.7692 MB / 0.933 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002024/1.142, allocations: 0.9516 MB / 0.9339 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/1.143, allocations: 422.6 kB / 0.9343 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/1.144, allocations: 0.5263 MB / 0.9348 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/1.144, allocations: 366 kB / 0.9352 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/1.144, allocations: 25.19 kB / 0.9352 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/1.146, allocations: 350.1 kB / 0.9355 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/1.146, allocations: 207.3 kB / 0.9357 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006971/1.147, allocations: 168.7 kB / 0.9359 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/1.148, allocations: 0.836 MB / 0.9367 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.148, allocations: 1.859 kB / 0.9367 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.505e-06/1.148, allocations: 0.5312 kB / 0.9367 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.311e-05/1.148, allocations: 0 / 0.9367 GB, free: 21.43 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.002058/1.151, allocations: 0.8943 MB / 0.9376 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.151, allocations: 9.438 kB / 0.9376 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/1.151, allocations: 101.2 kB / 0.9377 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.152, allocations: 167.2 kB / 0.9379 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.153, allocations: 0.5023 MB / 0.9384 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/1.153, allocations: 40.47 kB / 0.9384 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/1.153, allocations: 51.88 kB / 0.9384 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.155, allocations: 0.6504 MB / 0.9391 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.155, allocations: 0.7188 kB / 0.9391 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/1.155, allocations: 26.56 kB / 0.9391 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/1.155, allocations: 28.66 kB / 0.9391 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/1.156, allocations: 0.517 MB / 0.9396 GB, free: 20.41 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.004321/1.16, allocations: 2.301 MB / 0.9419 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/1.161, allocations: 264.5 kB / 0.9421 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/1.161, allocations: 9.672 kB / 0.9421 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/1.161, allocations: 38.75 kB / 0.9422 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.275e-06/1.161, allocations: 0 / 0.9422 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001987/1.163, allocations: 0.6805 MB / 0.9428 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/1.163, allocations: 83.23 kB / 0.9429 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/1.164, allocations: 0.5448 MB / 0.9435 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/1.164, allocations: 35.36 kB / 0.9435 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/1.165, allocations: 332.2 kB / 0.9438 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/1.165, allocations: 78.64 kB / 0.9439 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/1.165, allocations: 6.156 kB / 0.9439 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.165, allocations: 363 kB / 0.9442 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/1.165, allocations: 134.1 kB / 0.9444 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/1.166, allocations: 223.4 kB / 0.9446 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/1.166, allocations: 166.8 kB / 0.9447 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.166, allocations: 1.031 kB / 0.9447 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001099/1.167, allocations: 0.5034 MB / 0.9452 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.167, allocations: 5.688 kB / 0.9452 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.167, allocations: 6.484 kB / 0.9452 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003613/1.168, allocations: 96.09 kB / 0.9453 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/1.168, allocations: 78.86 kB / 0.9454 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/1.171, allocations: 3.144 MB / 0.9485 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/1.172, allocations: 63.88 kB / 0.9485 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/1.172, allocations: 15.98 kB / 0.9485 GB, free: 15.45 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.0004203/1.172, allocations: 224.5 kB / 0.9488 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.172, allocations: 51.22 kB / 0.9488 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/1.173, allocations: 61.55 kB / 0.9489 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.173, allocations: 1.312 kB / 0.9489 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.173, allocations: 3.938 kB / 0.9489 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008659/1.173, allocations: 0.5434 MB / 0.9494 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/1.175, allocations: 0.9164 MB / 0.9503 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.175, allocations: 4.125 kB / 0.9503 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/1.175, allocations: 47.53 kB / 0.9504 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/1.175, allocations: 61.09 kB / 0.9504 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.175, allocations: 6.125 kB / 0.9504 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/1.177, allocations: 1.725 MB / 0.9521 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.177, allocations: 5.438 kB / 0.9521 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/1.178, allocations: 472.5 kB / 0.9526 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.178, allocations: 173 kB / 0.9527 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/1.178, allocations: 3.344 kB / 0.9527 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/1.179, allocations: 38.86 kB / 0.9528 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/1.179, allocations: 18.02 kB / 0.9528 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/1.179, allocations: 15.62 kB / 0.9528 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005678/1.179, allocations: 394.1 kB / 0.9532 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.179, allocations: 0 / 0.9532 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008716/1.18, allocations: 208.5 kB / 0.9534 GB, free: 12.84 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.001321/1.182, allocations: 1.196 MB / 0.9545 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009501/1.183, allocations: 0.5397 MB / 0.9551 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.183, allocations: 3.25 kB / 0.9551 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/1.183, allocations: 256.6 kB / 0.9553 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.185, allocations: 348.7 kB / 0.9556 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/1.191, allocations: 4.469 MB / 0.96 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/1.191, allocations: 0.9151 MB / 0.9609 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000601/1.192, allocations: 111.1 kB / 0.961 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.192, allocations: 187 kB / 0.9612 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/1.192, allocations: 0 / 0.9612 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/1.228, allocations: 17.03 MB / 0.9778 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.228, allocations: 262.4 kB / 0.9781 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/3.316, allocations: 4 kB / 0.9781 GB, free: 2.152 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: