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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001273/0.001273, allocations: 168.7 kB / 15.95 MB, free: 204 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.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.693/1.693, 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.0005466/0.0005468, allocations: 12.84 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2739, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.767/1.041, allocations: 155.4 MB / 0.9391 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00711/1.048, allocations: 3.993 MB / 0.943 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/1.049, allocations: 17.72 kB / 0.943 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/1.05, allocations: 234.5 kB / 0.9433 GB, free: 5.387 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.002957/1.053, allocations: 0.7376 MB / 0.944 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/1.056, allocations: 0.6089 MB / 0.9446 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002956/1.059, allocations: 1.515 MB / 0.9461 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008819/1.06, allocations: 356.9 kB / 0.9464 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/1.062, allocations: 0.5483 MB / 0.9469 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/1.063, allocations: 430.7 kB / 0.9473 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/1.063, allocations: 21.72 kB / 0.9474 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/1.066, allocations: 0.6162 MB / 0.948 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/1.066, allocations: 182.3 kB / 0.9481 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000777/1.067, allocations: 139.5 kB / 0.9483 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/1.069, allocations: 0.7934 MB / 0.949 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.069, allocations: 1.469 kB / 0.9491 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/1.069, allocations: 0 / 0.9491 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.075e-05/1.069, allocations: 4 kB / 0.9491 GB, free: 20.65 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002237/1.071, allocations: 0.8473 MB / 0.9499 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.071, allocations: 9.062 kB / 0.9499 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/1.071, allocations: 81.8 kB / 0.95 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/1.073, allocations: 282.6 kB / 0.9502 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.074, allocations: 473.9 kB / 0.9507 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/1.075, allocations: 98.91 kB / 0.9508 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.075, allocations: 37.62 kB / 0.9508 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/1.076, allocations: 0.6382 MB / 0.9514 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/1.076, allocations: 1.156 kB / 0.9514 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/1.076, allocations: 22.27 kB / 0.9515 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/1.076, allocations: 20.73 kB / 0.9515 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/1.078, allocations: 0.5831 MB / 0.9521 GB, free: 19.59 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.004615/1.083, allocations: 2.299 MB / 0.9543 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/1.084, allocations: 312.9 kB / 0.9546 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/1.084, allocations: 193.3 kB / 0.9548 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/1.084, allocations: 2.188 kB / 0.9548 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/1.084, allocations: 37.92 kB / 0.9548 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 3.617e-06/1.084, allocations: 3.984 kB / 0.9548 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005054/1.089, allocations: 1.185 MB / 0.956 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/1.089, allocations: 85.52 kB / 0.9561 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009268/1.09, allocations: 0.5477 MB / 0.9566 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/1.09, allocations: 30.61 kB / 0.9566 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/1.091, allocations: 298.2 kB / 0.9569 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/1.091, allocations: 39.44 kB / 0.9569 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/1.091, allocations: 7.406 kB / 0.957 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002309/1.091, allocations: 355.2 kB / 0.9573 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/1.092, allocations: 207.5 kB / 0.9575 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/1.092, allocations: 299.8 kB / 0.9578 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/1.093, allocations: 215.6 kB / 0.958 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.093, allocations: 1 kB / 0.958 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002748/1.096, allocations: 0.7795 MB / 0.9587 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.096, allocations: 6.469 kB / 0.9588 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.096, allocations: 3.125 kB / 0.9588 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000664/1.096, allocations: 187.8 kB / 0.9589 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/1.097, allocations: 81.42 kB / 0.959 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/1.101, allocations: 2.194 MB / 0.9612 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.102, allocations: 89.34 kB / 0.9612 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/1.102, allocations: 9.312 kB / 0.9613 GB, free: 15.84 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 (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.0005361/1.103, allocations: 201 kB / 0.9614 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/1.103, allocations: 49 kB / 0.9615 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/1.104, allocations: 51.77 kB / 0.9615 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.104, allocations: 5.453 kB / 0.9615 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.104, allocations: 1 kB / 0.9615 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/1.104, allocations: 0 / 0.9615 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/1.108, allocations: 1.197 MB / 0.9627 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.108, allocations: 1.5 kB / 0.9627 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/1.109, allocations: 48.25 kB / 0.9628 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007401/1.109, allocations: 186.4 kB / 0.9629 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/1.109, allocations: 8.281 kB / 0.9629 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/1.113, allocations: 2.059 MB / 0.965 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.113, allocations: 1.062 kB / 0.965 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.117, allocations: 0.7592 MB / 0.9657 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/1.118, allocations: 169 kB / 0.9659 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/1.118, allocations: 2.844 kB / 0.9659 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.119, allocations: 70.92 kB / 0.9659 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/1.119, allocations: 20.59 kB / 0.966 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/1.12, allocations: 15.33 kB / 0.966 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008997/1.12, allocations: 386.4 kB / 0.9663 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/1.12, allocations: 0 / 0.9663 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001514/1.122, allocations: 178.4 kB / 0.9665 GB, free: 13.54 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 (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.004549/1.127, allocations: 1.376 MB / 0.9678 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003068/1.13, allocations: 0.6482 MB / 0.9685 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.13, allocations: 9.5 kB / 0.9685 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.131, allocations: 311.8 kB / 0.9688 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/1.133, allocations: 292.1 kB / 0.9691 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/1.143, allocations: 3.562 MB / 0.9725 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/1.144, allocations: 0.859 MB / 0.9734 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005841/1.144, allocations: 106.6 kB / 0.9735 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/1.144, allocations: 156.3 kB / 0.9736 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/1.144, allocations: 0 / 0.9736 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/1.2, allocations: 15.97 MB / 0.9892 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.2, allocations: 287.3 kB / 0.9895 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.35, allocations: 0 / 0.9895 GB, free: 2.32 MB / 0.7325 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) Environment - environmentSimulation: