Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001311/0.001311, allocations: 92.23 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.001606/0.001607, 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 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.109/1.109, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 12 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 83.4 MB / 0.5975 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5051/0.714, allocations: 155.4 MB / 0.7493 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006214/0.7203, allocations: 4.033 MB / 0.7532 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.721, allocations: 19.88 kB / 0.7532 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008035/0.7218, allocations: 222.6 kB / 0.7534 GB, free: 12.49 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001946/0.7238, allocations: 0.7503 MB / 0.7542 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.7255, allocations: 0.6086 MB / 0.7548 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.727, allocations: 1.513 MB / 0.7562 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.7275, allocations: 360.3 kB / 0.7566 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009304/0.7284, allocations: 0.5563 MB / 0.7571 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.729, allocations: 430.3 kB / 0.7575 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.7291, allocations: 24 kB / 0.7576 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.7303, allocations: 0.6198 MB / 0.7582 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.7305, allocations: 183.4 kB / 0.7583 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.7306, allocations: 141.5 kB / 0.7585 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.7314, allocations: 0.8184 MB / 0.7593 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7314, allocations: 4 kB / 0.7593 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7315, allocations: 0 / 0.7593 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7315, allocations: 0 / 0.7593 GB, free: 6.504 MB / 0.5762 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.001395/0.7329, allocations: 0.8454 MB / 0.7601 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7329, allocations: 16.02 kB / 0.7601 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.733, allocations: 79.22 kB / 0.7602 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.7345, allocations: 294.9 kB / 0.7605 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.7352, allocations: 469.7 kB / 0.7609 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.7355, allocations: 100.9 kB / 0.761 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.7356, allocations: 39.98 kB / 0.7611 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.7367, allocations: 0.6341 MB / 0.7617 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7368, allocations: 0 / 0.7617 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.7368, allocations: 26.38 kB / 0.7617 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.7369, allocations: 21 kB / 0.7617 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.7382, allocations: 0.5854 MB / 0.7623 GB, free: 3.293 MB / 0.5762 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.003504/0.7417, allocations: 2.297 MB / 0.7645 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.7425, allocations: 310.3 kB / 0.7648 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.743, allocations: 196.6 kB / 0.765 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.7431, allocations: 4.203 kB / 0.765 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7431, allocations: 38.5 kB / 0.7651 GB, free: 320 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.7431, allocations: 3.938 kB / 0.7651 GB, free: 316 kB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004622/0.7477, allocations: 1.185 MB / 0.7662 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7478, allocations: 81.11 kB / 0.7663 GB, free: 15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.7485, allocations: 0.5456 MB / 0.7668 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.7485, allocations: 33.7 kB / 0.7669 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.7487, allocations: 299.5 kB / 0.7672 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.7488, allocations: 43.39 kB / 0.7672 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.7488, allocations: 8 kB / 0.7672 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.749, allocations: 354.8 kB / 0.7675 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.7495, allocations: 209.3 kB / 0.7677 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.7502, allocations: 294.2 kB / 0.768 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.7507, allocations: 216.6 kB / 0.7682 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7507, allocations: 0 / 0.7682 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002367/0.7531, allocations: 0.7796 MB / 0.769 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.7532, allocations: 12.08 kB / 0.769 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7532, allocations: 4 kB / 0.769 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.7538, allocations: 184.7 kB / 0.7692 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.7541, allocations: 79.88 kB / 0.7693 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.7585, allocations: 2.188 MB / 0.7714 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/0.7594, allocations: 95.38 kB / 0.7715 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.7594, allocations: 12 kB / 0.7715 GB, free: 9.477 MB / 0.5919 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.0004343/0.7599, allocations: 197.6 kB / 0.7717 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.76, allocations: 51.44 kB / 0.7717 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.7601, allocations: 52.03 kB / 0.7718 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7601, allocations: 0 / 0.7718 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.7601, allocations: 0 / 0.7718 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7601, allocations: 0 / 0.7718 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.7632, allocations: 1.187 MB / 0.7729 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7632, allocations: 0 / 0.7729 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.7635, allocations: 55.95 kB / 0.773 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.764, allocations: 188.8 kB / 0.7732 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.7641, allocations: 7.938 kB / 0.7732 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.7676, allocations: 2.06 MB / 0.7752 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7676, allocations: 0 / 0.7752 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.77, allocations: 0.7587 MB / 0.7759 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.7703, allocations: 164.5 kB / 0.7761 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.7704, allocations: 0 / 0.7761 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.7709, allocations: 69.97 kB / 0.7762 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.771, allocations: 19.88 kB / 0.7762 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.7711, allocations: 16.98 kB / 0.7762 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000475/0.7716, allocations: 386.8 kB / 0.7766 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7716, allocations: 4 kB / 0.7766 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007387/0.7723, allocations: 187.7 kB / 0.7767 GB, free: 3.844 MB / 0.5919 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.002846/0.7752, allocations: 1.373 MB / 0.7781 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.7772, allocations: 0.6449 MB / 0.7787 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.7772, allocations: 0 / 0.7787 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/0.7779, allocations: 326.9 kB / 0.779 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.7793, allocations: 294.8 kB / 0.7793 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.7875, allocations: 3.548 MB / 0.7828 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.788, allocations: 0.8582 MB / 0.7836 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005596/0.7886, allocations: 105.4 kB / 0.7837 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.7888, allocations: 163.4 kB / 0.7839 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.7889, allocations: 0 / 0.7839 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.8283, allocations: 16.03 MB / 0.7995 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.8287, allocations: 290.2 kB / 0.7998 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.932, allocations: 4 kB / 0.7998 GB, free: 12.44 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: