Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.MixingVolumeHeatConduction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008071/0.0008071, allocations: 84.38 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.0008196/0.0008196, 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 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.083/1.083, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 83.43 MB / 0.5975 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7607/0.9511, allocations: 155.4 MB / 0.7493 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007406/0.9586, allocations: 4.039 MB / 0.7533 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.9595, allocations: 19.88 kB / 0.7533 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008959/0.9605, allocations: 242.5 kB / 0.7535 GB, free: 12.33 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.002912/0.9634, allocations: 0.8979 MB / 0.7544 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.9654, allocations: 0.563 MB / 0.755 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.9681, allocations: 1.985 MB / 0.7569 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008568/0.969, allocations: 420.6 kB / 0.7573 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.9704, allocations: 0.5641 MB / 0.7579 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009352/0.9713, allocations: 0.5371 MB / 0.7584 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.9714, allocations: 32 kB / 0.7584 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.9727, allocations: 411 kB / 0.7588 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.9729, allocations: 227.3 kB / 0.759 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.9732, allocations: 165.4 kB / 0.7592 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.9743, allocations: 0.9312 MB / 0.7601 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9743, allocations: 0 / 0.7601 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9743, allocations: 4 kB / 0.7601 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.9743, allocations: 0 / 0.7601 GB, free: 5.609 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001695/0.976, allocations: 0.9039 MB / 0.761 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.9761, allocations: 16.03 kB / 0.761 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.9762, allocations: 98.52 kB / 0.7611 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009336/0.9772, allocations: 167 kB / 0.7612 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.978, allocations: 0.498 MB / 0.7617 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.978, allocations: 45.3 kB / 0.7618 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.9781, allocations: 55.94 kB / 0.7618 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.9793, allocations: 0.6519 MB / 0.7625 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.9793, allocations: 0 / 0.7625 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.9793, allocations: 20 kB / 0.7625 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.9794, allocations: 25.3 kB / 0.7625 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.9804, allocations: 0.5287 MB / 0.763 GB, free: 2.492 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.003664/0.9841, allocations: 2.305 MB / 0.7653 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.9846, allocations: 255.9 kB / 0.7655 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.9849, allocations: 145.1 kB / 0.7657 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.985, allocations: 15.92 kB / 0.7657 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.985, allocations: 38.56 kB / 0.7657 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.985, allocations: 0 / 0.7657 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001593/0.9866, allocations: 0.6861 MB / 0.7664 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.9868, allocations: 77.11 kB / 0.7665 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.9875, allocations: 0.5497 MB / 0.767 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.9875, allocations: 33.7 kB / 0.767 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.9878, allocations: 338.9 kB / 0.7673 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.9879, allocations: 67.09 kB / 0.7674 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.9879, allocations: 8 kB / 0.7674 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000328/0.9883, allocations: 362.7 kB / 0.7678 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.9885, allocations: 136.6 kB / 0.7679 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.9888, allocations: 215.3 kB / 0.7681 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.9891, allocations: 165 kB / 0.7683 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9891, allocations: 8 kB / 0.7683 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008821/0.99, allocations: 0.5103 MB / 0.7688 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9901, allocations: 4 kB / 0.7688 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9901, allocations: 4.5 kB / 0.7688 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.9904, allocations: 89.66 kB / 0.7689 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.9907, allocations: 84.41 kB / 0.7689 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.9938, allocations: 3.096 MB / 0.772 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.9943, allocations: 60.36 kB / 0.772 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.9944, allocations: 16 kB / 0.772 GB, free: 8.672 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 (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.0003874/0.9948, allocations: 221.7 kB / 0.7722 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.9949, allocations: 51.44 kB / 0.7723 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.995, allocations: 60.45 kB / 0.7723 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.995, allocations: 0 / 0.7723 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.995, allocations: 0 / 0.7723 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008304/0.9958, allocations: 0.5523 MB / 0.7729 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.9972, allocations: 0.9221 MB / 0.7738 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9972, allocations: 3.125 kB / 0.7738 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.9974, allocations: 43.97 kB / 0.7738 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.9976, allocations: 64.8 kB / 0.7739 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.9976, allocations: 8.062 kB / 0.7739 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.9993, allocations: 1.684 MB / 0.7755 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9993, allocations: 0 / 0.7755 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/1, allocations: 454.5 kB / 0.776 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/1, allocations: 168.3 kB / 0.7761 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/1, allocations: 4 kB / 0.7761 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/1.001, allocations: 38.31 kB / 0.7762 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/1.001, allocations: 23.97 kB / 0.7762 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.001, allocations: 11.98 kB / 0.7762 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005124/1.001, allocations: 394.8 kB / 0.7766 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 0 / 0.7766 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000713/1.002, allocations: 211.6 kB / 0.7768 GB, free: 3.477 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 (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.001233/1.003, allocations: 1.048 MB / 0.7778 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009414/1.004, allocations: 0.5324 MB / 0.7783 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.004, allocations: 8 kB / 0.7783 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/1.005, allocations: 262.4 kB / 0.7786 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.006, allocations: 354.4 kB / 0.7789 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/1.011, allocations: 3.125 MB / 0.782 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/1.012, allocations: 0.9132 MB / 0.7829 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005636/1.012, allocations: 115 kB / 0.783 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/1.013, allocations: 191.4 kB / 0.7832 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/1.013, allocations: 3.938 kB / 0.7832 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/1.049, allocations: 17.14 MB / 0.7999 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003863/1.049, allocations: 277.9 kB / 0.8002 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.304, allocations: 0 / 0.8002 GB, free: 11.78 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: