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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 190.1 kB / 16.14 MB, free: 6.707 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.217/1.217, allocations: 205.1 MB / 222 MB, free: 5.012 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.51/1.51, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001242/0.001242, allocations: 70.64 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.168, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4759/0.6439, allocations: 168.7 MB / 0.9476 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004546/0.6485, allocations: 4.321 MB / 0.9518 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.6488, allocations: 15.5 kB / 0.9518 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.6496, allocations: 307.1 kB / 0.9521 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.6512, allocations: 0.9271 MB / 0.953 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.6526, allocations: 0.728 MB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.6542, allocations: 1.781 MB / 0.9555 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.6546, allocations: 425.6 kB / 0.9559 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.6555, allocations: 0.5905 MB / 0.9564 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/0.6564, allocations: 473.7 kB / 0.9569 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.391e-05/0.6564, allocations: 26.88 kB / 0.9569 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.6579, allocations: 1.003 MB / 0.9579 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.6582, allocations: 193.4 kB / 0.9581 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.6586, allocations: 308.1 kB / 0.9584 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.6597, allocations: 1.141 MB / 0.9595 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.6597, allocations: 0 / 0.9595 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6597, allocations: 1.094 kB / 0.9595 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.6598, allocations: 0 / 0.9595 GB, free: 5.293 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.001449/0.6612, allocations: 0.956 MB / 0.9604 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6612, allocations: 13.28 kB / 0.9604 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.6613, allocations: 80.38 kB / 0.9605 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.6628, allocations: 259.2 kB / 0.9608 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.6634, allocations: 480.2 kB / 0.9612 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.6637, allocations: 87.97 kB / 0.9613 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.6638, allocations: 44.56 kB / 0.9613 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6648, allocations: 0.6254 MB / 0.962 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6649, allocations: 0 / 0.962 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.6649, allocations: 20.38 kB / 0.962 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.6649, allocations: 22.67 kB / 0.962 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.6662, allocations: 0.556 MB / 0.9625 GB, free: 20.23 MB / 0.7481 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.003255/0.6694, allocations: 2.281 MB / 0.9648 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.6703, allocations: 299.6 kB / 0.965 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.6707, allocations: 172.6 kB / 0.9652 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.6708, allocations: 1.125 kB / 0.9652 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6708, allocations: 40.58 kB / 0.9653 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.6708, allocations: 1.094 kB / 0.9653 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.00464/0.6755, allocations: 1.101 MB / 0.9663 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.6755, allocations: 85.08 kB / 0.9664 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.676, allocations: 0.5532 MB / 0.967 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.6761, allocations: 31.64 kB / 0.967 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.6762, allocations: 302.1 kB / 0.9673 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.6762, allocations: 39.56 kB / 0.9673 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6763, allocations: 60.98 kB / 0.9674 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6765, allocations: 355.6 kB / 0.9677 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.677, allocations: 199.3 kB / 0.9679 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.6776, allocations: 278.3 kB / 0.9682 GB, free: 18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.6786, allocations: 421.4 kB / 0.9686 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6786, allocations: 2.25 kB / 0.9686 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002363/0.681, allocations: 0.739 MB / 0.9693 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.681, allocations: 5.844 kB / 0.9693 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.681, allocations: 2.312 kB / 0.9693 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005155/0.6815, allocations: 179.3 kB / 0.9695 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.6819, allocations: 76.34 kB / 0.9695 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5003/1.182, allocations: 2.081 MB / 0.9716 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/1.183, allocations: 90.97 kB / 0.9717 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/1.183, allocations: 9.062 kB / 0.9717 GB, free: 16.46 MB / 0.7481 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000311/1.183, allocations: 197.7 kB / 0.9719 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/1.184, allocations: 48.16 kB / 0.9719 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/1.184, allocations: 51.88 kB / 0.9719 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.184, allocations: 2.25 kB / 0.972 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.184, allocations: 3.938 kB / 0.972 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.184, allocations: 1 kB / 0.972 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/1.187, allocations: 1.141 MB / 0.9731 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.187, allocations: 4.062 kB / 0.9731 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/1.187, allocations: 45.17 kB / 0.9731 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/1.187, allocations: 177.9 kB / 0.9733 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.187, allocations: 9.344 kB / 0.9733 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/1.19, allocations: 2.034 MB / 0.9753 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.19, allocations: 6.906 kB / 0.9753 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/1.192, allocations: 0.7129 MB / 0.976 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/1.192, allocations: 167.4 kB / 0.9761 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/1.193, allocations: 1.438 kB / 0.9761 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.193, allocations: 59.64 kB / 0.9762 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.193, allocations: 19.16 kB / 0.9762 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/1.193, allocations: 14.47 kB / 0.9762 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000369/1.194, allocations: 393.6 kB / 0.9766 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.194, allocations: 1.562 kB / 0.9766 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006102/1.194, allocations: 187.3 kB / 0.9768 GB, free: 14.2 MB / 0.7481 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 (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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002621/1.197, allocations: 1.317 MB / 0.9781 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001318/1.198, allocations: 0.5414 MB / 0.9786 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.198, allocations: 1.203 kB / 0.9786 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/1.199, allocations: 297.9 kB / 0.9789 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.2, allocations: 295.8 kB / 0.9792 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/1.21, allocations: 5.322 MB / 0.9844 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.21, allocations: 0.8561 MB / 0.9852 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003975/1.21, allocations: 103.4 kB / 0.9853 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/1.211, allocations: 161.8 kB / 0.9855 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/1.211, allocations: 0 / 0.9855 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.895/7.106, allocations: 16.08 MB / 1.001 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/7.106, allocations: 299.5 kB / 1.001 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/9.329, allocations: 0 / 1.001 GB, free: 3.988 MB / 0.7481 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/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)