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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005205/0.005206, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.00117/0.00117, allocations: 192.8 kB / 16.67 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8314/0.8314, allocations: 143.1 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.11 kB / 0.595 GB, free: 12.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1405, allocations: 82.03 MB / 0.6751 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4782/0.6187, allocations: 171.1 MB / 0.8422 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006227/0.625, allocations: 4.315 MB / 0.8465 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.6257, allocations: 20.59 kB / 0.8465 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.6267, allocations: 366.7 kB / 0.8468 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.6292, allocations: 1.263 MB / 0.8481 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.6311, allocations: 0.8037 MB / 0.8488 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.6328, allocations: 1.689 MB / 0.8505 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006529/0.6334, allocations: 0.5618 MB / 0.851 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.6345, allocations: 0.7157 MB / 0.8517 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.6355, allocations: 0.5489 MB / 0.8523 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.6356, allocations: 65.78 kB / 0.8523 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.637, allocations: 0.8091 MB / 0.8531 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.6372, allocations: 270 kB / 0.8534 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.6376, allocations: 404.8 kB / 0.8538 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.6391, allocations: 1.3 MB / 0.855 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6392, allocations: 8 kB / 0.855 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6392, allocations: 3.984 kB / 0.8551 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.6392, allocations: 0 / 0.8551 GB, free: 6.023 MB / 0.6231 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.001688/0.6409, allocations: 1.059 MB / 0.8561 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6409, allocations: 12.03 kB / 0.8561 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.641, allocations: 94.52 kB / 0.8562 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6421, allocations: 163.4 kB / 0.8563 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000829/0.6429, allocations: 0.5487 MB / 0.8569 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.6429, allocations: 37.31 kB / 0.8569 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.643, allocations: 63.92 kB / 0.857 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.6441, allocations: 0.6479 MB / 0.8576 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.6441, allocations: 0 / 0.8576 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.6442, allocations: 20 kB / 0.8576 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.6442, allocations: 29.3 kB / 0.8577 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008854/0.6451, allocations: 0.5126 MB / 0.8582 GB, free: 2.723 MB / 0.6231 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.003105/0.6482, allocations: 2.298 MB / 0.8604 GB, free: 268 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.6487, allocations: 270.7 kB / 0.8607 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.649, allocations: 139.7 kB / 0.8608 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.649, allocations: 11.92 kB / 0.8608 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.6491, allocations: 38.56 kB / 0.8608 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.6491, allocations: 0 / 0.8608 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.00161/0.6507, allocations: 0.6708 MB / 0.8615 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.6508, allocations: 81.11 kB / 0.8616 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.6513, allocations: 0.5535 MB / 0.8621 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.6514, allocations: 33.7 kB / 0.8621 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.6516, allocations: 339.8 kB / 0.8625 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.6517, allocations: 67.39 kB / 0.8625 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.6518, allocations: 73.98 kB / 0.8626 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6519, allocations: 362.7 kB / 0.8629 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.6522, allocations: 136.6 kB / 0.8631 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.6525, allocations: 210.7 kB / 0.8633 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.653, allocations: 336.3 kB / 0.8636 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6531, allocations: 0 / 0.8636 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009072/0.654, allocations: 0.491 MB / 0.8641 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.654, allocations: 8 kB / 0.8641 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.654, allocations: 0 / 0.8641 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.6543, allocations: 102.7 kB / 0.8642 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.6546, allocations: 71.89 kB / 0.8643 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.6574, allocations: 3.335 MB / 0.8675 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.658, allocations: 63.48 kB / 0.8676 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.658, allocations: 12 kB / 0.8676 GB, free: 8.422 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.6583, allocations: 226.4 kB / 0.8678 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.6584, allocations: 55.67 kB / 0.8679 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.6585, allocations: 52.5 kB / 0.8679 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6585, allocations: 4 kB / 0.8679 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6585, allocations: 3.938 kB / 0.8679 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007046/0.6592, allocations: 0.5324 MB / 0.8684 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.6604, allocations: 0.921 MB / 0.8693 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6604, allocations: 0 / 0.8693 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.6607, allocations: 39.97 kB / 0.8694 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.6609, allocations: 68.88 kB / 0.8694 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.6609, allocations: 7.984 kB / 0.8694 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.6625, allocations: 1.818 MB / 0.8712 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.6625, allocations: 4.031 kB / 0.8712 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.6631, allocations: 433.6 kB / 0.8716 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.6634, allocations: 176.7 kB / 0.8718 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.6634, allocations: 3.938 kB / 0.8718 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.6639, allocations: 25.23 kB / 0.8718 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.664, allocations: 19.97 kB / 0.8718 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.664, allocations: 15.98 kB / 0.8719 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000422/0.6644, allocations: 398.8 kB / 0.8722 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6644, allocations: 0 / 0.8722 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006102/0.6651, allocations: 211.7 kB / 0.8724 GB, free: 3.117 MB / 0.6387 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.6662, allocations: 1.035 MB / 0.8735 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008541/0.667, allocations: 0.523 MB / 0.874 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.667, allocations: 4.062 kB / 0.874 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.6674, allocations: 250.5 kB / 0.8742 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.6691, allocations: 374.2 kB / 0.8746 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.675, allocations: 4.473 MB / 0.8789 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.6755, allocations: 0.9169 MB / 0.8798 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004626/0.676, allocations: 112.8 kB / 0.8799 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.6763, allocations: 191.4 kB / 0.8801 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.6763, allocations: 0 / 0.8801 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.7232, allocations: 17.84 MB / 0.8975 GB, free: 9.559 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.23, allocations: 7.922 kB / 0.8975 GB, free: 9.551 MB / 0.67 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)