Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001542/0.001542, allocations: 105.3 kB / 16.4 MB, free: 6.5 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.001771/0.001771, allocations: 192 kB / 17.34 MB, free: 5.734 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7347/0.7347, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 62.95 kB / 0.568 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1308, allocations: 77.94 MB / 0.6441 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5134/0.6443, allocations: 221.1 MB / 0.86 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008888/0.6532, allocations: 5.745 MB / 0.8656 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.6545, allocations: 40.91 kB / 0.8656 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.6559, allocations: 0.6016 MB / 0.8662 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.6597, allocations: 1.685 MB / 0.8679 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.6625, allocations: 1.226 MB / 0.8691 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.6655, allocations: 2.582 MB / 0.8716 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.6665, allocations: 0.8901 MB / 0.8725 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.6681, allocations: 1.105 MB / 0.8735 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.6697, allocations: 0.8434 MB / 0.8744 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.6698, allocations: 96.05 kB / 0.8744 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.6724, allocations: 1.539 MB / 0.876 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.6728, allocations: 406.9 kB / 0.8763 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005593/0.6734, allocations: 0.5872 MB / 0.8769 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.6759, allocations: 2.024 MB / 0.8789 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6759, allocations: 4 kB / 0.8789 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6759, allocations: 0 / 0.8789 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6759, allocations: 0 / 0.8789 GB, free: 11.42 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002082/0.678, allocations: 1.463 MB / 0.8803 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6781, allocations: 8.031 kB / 0.8803 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.6782, allocations: 126.6 kB / 0.8805 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.6808, allocations: 430.8 kB / 0.8809 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.6822, allocations: 0.8007 MB / 0.8816 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.6822, allocations: 58 kB / 0.8817 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6824, allocations: 79.94 kB / 0.8818 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.6841, allocations: 0.9866 MB / 0.8827 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.6841, allocations: 4 kB / 0.8827 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.6842, allocations: 32 kB / 0.8828 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.6843, allocations: 33.94 kB / 0.8828 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.6861, allocations: 0.8821 MB / 0.8837 GB, free: 6.398 MB / 0.6387 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.005253/0.6914, allocations: 3.479 MB / 0.8871 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.6929, allocations: 0.593 MB / 0.8876 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/0.6937, allocations: 351.7 kB / 0.888 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.6938, allocations: 93.09 kB / 0.8881 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6939, allocations: 50.48 kB / 0.8881 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 3.006e-06/0.6939, allocations: 7.984 kB / 0.8881 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.004747/0.6986, allocations: 1.893 MB / 0.89 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.6987, allocations: 59.34 kB / 0.89 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.6996, allocations: 0.7745 MB / 0.8908 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.6996, allocations: 37.7 kB / 0.8908 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.6999, allocations: 464.4 kB / 0.8913 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.7001, allocations: 154.7 kB / 0.8914 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.7003, allocations: 114.2 kB / 0.8915 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7004, allocations: 333.7 kB / 0.8918 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.7012, allocations: 304.9 kB / 0.8921 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.702, allocations: 447.5 kB / 0.8926 GB, free: 12.92 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005161/0.7072, allocations: 1.923 MB / 0.8944 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.7072, allocations: 0 / 0.8944 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001875/0.7091, allocations: 0.8469 MB / 0.8953 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7091, allocations: 4 kB / 0.8953 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7091, allocations: 4 kB / 0.8953 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7092, allocations: 8 kB / 0.8953 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.71, allocations: 167.8 kB / 0.8954 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.71, allocations: 8 kB / 0.8954 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008619/0.7109, allocations: 55.94 kB / 0.8955 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.711, allocations: 27.94 kB / 0.8955 GB, free: 9.816 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004117/0.7114, allocations: 283.4 kB / 0.8958 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.7115, allocations: 95.38 kB / 0.8959 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.7117, allocations: 100.1 kB / 0.896 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.7117, allocations: 4 kB / 0.896 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.7117, allocations: 3.938 kB / 0.896 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/0.7133, allocations: 0.6873 MB / 0.8967 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.7171, allocations: 1.904 MB / 0.8985 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.7171, allocations: 7.938 kB / 0.8985 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.7178, allocations: 144.2 kB / 0.8987 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.7179, allocations: 4 kB / 0.8987 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.7179, allocations: 16 kB / 0.8987 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.7179, allocations: 4 kB / 0.8987 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7179, allocations: 7.938 kB / 0.8987 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.7204, allocations: 1.217 MB / 0.8999 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.7208, allocations: 240.5 kB / 0.9001 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.7209, allocations: 20.05 kB / 0.9001 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/0.7218, allocations: 55.94 kB / 0.9002 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.7219, allocations: 35.91 kB / 0.9002 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.7219, allocations: 27.98 kB / 0.9002 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006448/0.7226, allocations: 0.5458 MB / 0.9008 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7226, allocations: 0 / 0.9008 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007784/0.7234, allocations: 247.9 kB / 0.901 GB, free: 3.984 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003077/0.7265, allocations: 1.889 MB / 0.9029 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.7282, allocations: 0.6895 MB / 0.9035 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.7282, allocations: 7.938 kB / 0.9035 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.729, allocations: 333.2 kB / 0.9039 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.7313, allocations: 0.5198 MB / 0.9044 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.7436, allocations: 7.193 MB / 0.9114 GB, free: 9.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.7442, allocations: 1.044 MB / 0.9124 GB, free: 7.945 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008095/0.7451, allocations: 219 kB / 0.9126 GB, free: 7.727 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.7456, allocations: 327.3 kB / 0.9129 GB, free: 7.406 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.7456, allocations: 3.938 kB / 0.9129 GB, free: 7.402 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04787/0.7935, allocations: 25.57 MB / 0.9379 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/9.181, allocations: 15.17 kB / 0.9379 GB, free: 14.23 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)