Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 289.9 MB / 297.4 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001678/0.001679, allocations: 176.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009094/0.0009091, allocations: 93.67 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.86e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7871, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.009/5.796, allocations: 2.071 GB / 3.045 GB, free: 10.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/5.797, allocations: 85.83 kB / 3.045 GB, free: 10.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.478/7.274, allocations: 385.7 MB / 3.422 GB, free: 10.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/7.274, allocations: 0 / 3.422 GB, free: 10.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.102e-05/7.275, allocations: 8 kB / 3.422 GB, free: 10.57 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00209/7.277, allocations: 0.8689 MB / 3.422 GB, free: 9.652 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/7.277, allocations: 8.031 kB / 3.422 GB, free: 9.645 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/7.278, allocations: 267 kB / 3.423 GB, free: 9.383 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/7.279, allocations: 476.6 kB / 3.423 GB, free: 8.879 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/7.279, allocations: 89.23 kB / 3.423 GB, free: 8.789 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/7.279, allocations: 24 kB / 3.423 GB, free: 8.766 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006259/7.28, allocations: 390.4 kB / 3.424 GB, free: 8.387 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/7.281, allocations: 0.4895 MB / 3.424 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/7.281, allocations: 0 / 3.424 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/7.281, allocations: 0 / 3.424 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/7.281, allocations: 17.31 kB / 3.424 GB, free: 7.852 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003024/7.284, allocations: 2.054 MB / 3.426 GB, free: 5.688 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/7.284, allocations: 142.5 kB / 3.426 GB, free: 5.539 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/7.284, allocations: 80.83 kB / 3.426 GB, free: 5.457 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/7.284, allocations: 0 / 3.426 GB, free: 5.457 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/7.284, allocations: 38.56 kB / 3.426 GB, free: 5.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/7.284, allocations: 0 / 3.426 GB, free: 5.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001679/7.286, allocations: 425.9 kB / 3.427 GB, free: 4.984 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/7.286, allocations: 81.11 kB / 3.427 GB, free: 4.887 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/7.287, allocations: 345.2 kB / 3.427 GB, free: 4.543 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/7.287, allocations: 29.7 kB / 3.427 GB, free: 4.508 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/7.287, allocations: 307.2 kB / 3.427 GB, free: 4.199 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/7.287, allocations: 39.45 kB / 3.427 GB, free: 4.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/7.287, allocations: 4 kB / 3.427 GB, free: 4.156 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001066/7.287, allocations: 342.8 kB / 3.428 GB, free: 3.812 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/7.287, allocations: 104 kB / 3.428 GB, free: 3.711 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/7.287, allocations: 186.5 kB / 3.428 GB, free: 3.492 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/7.288, allocations: 133.4 kB / 3.428 GB, free: 3.363 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.288, allocations: 0 / 3.428 GB, free: 3.363 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001528/7.289, allocations: 0.5303 MB / 3.429 GB, free: 2.828 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/7.289, allocations: 7.938 kB / 3.429 GB, free: 2.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/7.289, allocations: 7.984 kB / 3.429 GB, free: 2.812 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/7.29, allocations: 136.8 kB / 3.429 GB, free: 2.676 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/7.29, allocations: 79.89 kB / 3.429 GB, free: 2.598 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/7.292, allocations: 1.736 MB / 3.431 GB, free: 0.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/7.293, allocations: 75.64 kB / 3.431 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/7.293, allocations: 8 kB / 3.431 GB, free: 0.668 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/7.293, allocations: 124.8 kB / 3.431 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001368/7.294, allocations: 421.7 kB / 3.431 GB, free: 120 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/7.294, allocations: 39.53 kB / 3.431 GB, free: 80 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/7.294, allocations: 39.3 kB / 3.431 GB, free: 40 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/7.294, allocations: 4 kB / 3.431 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/7.294, allocations: 0 / 3.431 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/7.294, allocations: 0 / 3.431 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7812/8.076, allocations: 0.8875 MB / 3.432 GB, free: 267.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/8.076, allocations: 4.062 kB / 3.432 GB, free: 267.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/8.076, allocations: 49.64 kB / 3.432 GB, free: 267.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/8.076, allocations: 127.2 kB / 3.432 GB, free: 267.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/8.076, allocations: 9.172 kB / 3.432 GB, free: 267.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/8.079, allocations: 1.735 MB / 3.434 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.485e-06/8.079, allocations: 8.125 kB / 3.434 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/8.081, allocations: 0.5402 MB / 3.435 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/8.081, allocations: 148.2 kB / 3.435 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/8.081, allocations: 1.688 kB / 3.435 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/8.081, allocations: 64.5 kB / 3.435 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/8.082, allocations: 13.2 kB / 3.435 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/8.082, allocations: 14.02 kB / 3.435 GB, free: 266.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004595/8.082, allocations: 265.1 kB / 3.435 GB, free: 266.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.082, allocations: 0 / 3.435 GB, free: 266.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001329/8.083, allocations: 267.6 kB / 3.435 GB, free: 266.2 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00404/8.087, allocations: 2.26 MB / 3.438 GB, free: 265.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008096/8.088, allocations: 346 kB / 3.438 GB, free: 265.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/8.088, allocations: 0.75 kB / 3.438 GB, free: 265.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/8.089, allocations: 213.2 kB / 3.438 GB, free: 265.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/8.09, allocations: 185.4 kB / 3.438 GB, free: 265 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/8.093, allocations: 0.7991 MB / 3.439 GB, free: 264.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/8.093, allocations: 0.8756 MB / 3.44 GB, free: 264.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004569/8.094, allocations: 75.02 kB / 3.44 GB, free: 264.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/8.094, allocations: 153.4 kB / 3.44 GB, free: 264.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/8.094, allocations: 0 / 3.44 GB, free: 264.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/8.151, allocations: 19.31 MB / 3.459 GB, free: 263.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/8.151, allocations: 200.5 kB / 3.459 GB, free: 263.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/11.15, allocations: 0 / 3.459 GB, free: 263.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)