Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001336/0.001336, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001364/0.001364, allocations: 177.3 kB / 15.94 MB, free: 228 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.111/1.111, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 83.41 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5601/0.7552, allocations: 158.3 MB / 0.7519 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009463/0.7647, allocations: 5.632 MB / 0.7574 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.7661, allocations: 31.75 kB / 0.7575 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.7676, allocations: 0.5607 MB / 0.758 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.7721, allocations: 1.664 MB / 0.7596 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.7754, allocations: 1.194 MB / 0.7608 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.7775, allocations: 1.489 MB / 0.7623 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/0.7784, allocations: 0.7525 MB / 0.763 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.7796, allocations: 0.7514 MB / 0.7637 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.7803, allocations: 0.5409 MB / 0.7643 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/0.7804, allocations: 44 kB / 0.7643 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.7825, allocations: 0.9087 MB / 0.7652 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004177/0.7829, allocations: 403 kB / 0.7656 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.7832, allocations: 249.1 kB / 0.7658 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.785, allocations: 1.55 MB / 0.7673 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.785, allocations: 4 kB / 0.7673 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.785, allocations: 0 / 0.7673 GB, free: 14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.785, allocations: 0 / 0.7673 GB, free: 14 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002049/0.7871, allocations: 1.294 MB / 0.7686 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7872, allocations: 12.03 kB / 0.7686 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.7873, allocations: 135.3 kB / 0.7687 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.7903, allocations: 0.4943 MB / 0.7692 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.7917, allocations: 0.8049 MB / 0.77 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.7921, allocations: 137.9 kB / 0.7701 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.7922, allocations: 87.98 kB / 0.7702 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.7944, allocations: 1.183 MB / 0.7714 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.93e-05/0.7945, allocations: 3.938 kB / 0.7714 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.7946, allocations: 40 kB / 0.7714 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.7947, allocations: 34 kB / 0.7714 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.7971, allocations: 1.101 MB / 0.7725 GB, free: 8.566 MB / 0.5919 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.007806/0.8049, allocations: 4.377 MB / 0.7768 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.807, allocations: 0.7858 MB / 0.7776 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.541e-05/0.8071, allocations: 19.92 kB / 0.7776 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.8071, allocations: 39.28 kB / 0.7776 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/0.8071, allocations: 0 / 0.7776 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.006387/0.8135, allocations: 2.294 MB / 0.7799 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.8136, allocations: 55.41 kB / 0.7799 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.8147, allocations: 0.8531 MB / 0.7807 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.8148, allocations: 37.7 kB / 0.7808 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.8151, allocations: 495.2 kB / 0.7813 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.8153, allocations: 165.6 kB / 0.7814 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.8153, allocations: 16 kB / 0.7814 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.8154, allocations: 330 kB / 0.7817 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009246/0.8164, allocations: 389 kB / 0.7821 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.8174, allocations: 0.5169 MB / 0.7826 GB, free: 13.81 MB / 0.6075 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.004336/0.8218, allocations: 1.564 MB / 0.7841 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8218, allocations: 0 / 0.7841 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002541/0.8243, allocations: 1.021 MB / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8244, allocations: 4.125 kB / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8244, allocations: 11.94 kB / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/0.8244, allocations: 8 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009833/0.8254, allocations: 215.7 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.8254, allocations: 11.95 kB / 0.7854 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.8267, allocations: 111.7 kB / 0.7855 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.8268, allocations: 28 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005324/0.8273, allocations: 311.8 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.8275, allocations: 94.88 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.8277, allocations: 104.8 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.8277, allocations: 7.938 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.8277, allocations: 4 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002072/0.8298, allocations: 1.073 MB / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.8345, allocations: 2.208 MB / 0.7892 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8345, allocations: 0 / 0.7892 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.8354, allocations: 192.1 kB / 0.7894 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.8354, allocations: 11.94 kB / 0.7894 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.8355, allocations: 8 kB / 0.7894 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.8355, allocations: 8 kB / 0.7894 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.8355, allocations: 7.938 kB / 0.7894 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.8386, allocations: 1.63 MB / 0.791 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.8391, allocations: 252 kB / 0.7913 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.8393, allocations: 15.98 kB / 0.7913 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/0.8403, allocations: 115.4 kB / 0.7914 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.8404, allocations: 35.91 kB / 0.7914 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.8405, allocations: 27.98 kB / 0.7915 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007436/0.8412, allocations: 0.5966 MB / 0.792 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8412, allocations: 0 / 0.792 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008392/0.8421, allocations: 272 kB / 0.7923 GB, free: 3.527 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004286/0.8464, allocations: 3.177 MB / 0.7954 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.8486, allocations: 0.8462 MB / 0.7962 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8486, allocations: 4 kB / 0.7962 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.8496, allocations: 417 kB / 0.7966 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.8523, allocations: 0.5508 MB / 0.7972 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.8655, allocations: 8.811 MB / 0.8058 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009375/0.8664, allocations: 1.126 MB / 0.8069 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001173/0.8676, allocations: 270.9 kB / 0.8071 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.8682, allocations: 355.3 kB / 0.8075 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.8682, allocations: 0 / 0.8075 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.922, allocations: 28.16 MB / 0.835 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/0.9223, allocations: 283.7 kB / 0.8352 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.259, allocations: 3.094 kB / 0.8352 GB, free: 7.652 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: