Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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.00107/0.00107, allocations: 99.62 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.0009429/0.0009429, allocations: 177.3 kB / 15.95 MB, free: 216 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.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.092/1.092, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004555, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.6332/0.8413, allocations: 182.2 MB / 0.7753 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.8528, allocations: 5.662 MB / 0.7808 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.8545, allocations: 27.81 kB / 0.7808 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.8567, allocations: 0.5793 MB / 0.7814 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.863, allocations: 1.664 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.8672, allocations: 1.191 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.8703, allocations: 1.501 MB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.8715, allocations: 0.6794 MB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.8732, allocations: 0.763 MB / 0.7871 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007564/0.874, allocations: 0.5136 MB / 0.7876 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.8741, allocations: 44 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.8764, allocations: 0.9048 MB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.8768, allocations: 315.1 kB / 0.7888 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.8771, allocations: 233.2 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.8792, allocations: 1.424 MB / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8792, allocations: 0 / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8792, allocations: 0 / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8792, allocations: 0 / 0.7904 GB, free: 6.293 MB / 0.6075 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.002377/0.8816, allocations: 1.223 MB / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.8817, allocations: 8.031 kB / 0.7916 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.8819, allocations: 122.6 kB / 0.7917 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.8846, allocations: 452.6 kB / 0.7922 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.8862, allocations: 0.7421 MB / 0.7929 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.8866, allocations: 125.9 kB / 0.793 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8867, allocations: 79.98 kB / 0.7931 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.8887, allocations: 0.9906 MB / 0.794 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.8888, allocations: 7.906 kB / 0.7941 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.8889, allocations: 36 kB / 0.7941 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.8889, allocations: 29.95 kB / 0.7941 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.891, allocations: 0.9173 MB / 0.795 GB, free: 1.461 MB / 0.6075 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.006491/0.8975, allocations: 3.522 MB / 0.7985 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.8993, allocations: 0.6411 MB / 0.7991 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.8993, allocations: 12.27 kB / 0.7991 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.8994, allocations: 47.2 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.504e-06/0.8994, allocations: 0 / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.005743/0.9051, allocations: 1.995 MB / 0.8011 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.9052, allocations: 55.41 kB / 0.8011 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.9063, allocations: 0.7705 MB / 0.8019 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/0.9064, allocations: 37.7 kB / 0.8019 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.9067, allocations: 455.5 kB / 0.8024 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.9069, allocations: 153.9 kB / 0.8025 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.9069, allocations: 8 kB / 0.8025 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9071, allocations: 330 kB / 0.8028 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008789/0.908, allocations: 324.9 kB / 0.8031 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.909, allocations: 463.5 kB / 0.8036 GB, free: 8.344 MB / 0.6231 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.004038/0.9131, allocations: 1.338 MB / 0.8049 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.9131, allocations: 0 / 0.8049 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002209/0.9153, allocations: 0.8854 MB / 0.8058 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.9154, allocations: 8 kB / 0.8058 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.9154, allocations: 7.938 kB / 0.8058 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.9154, allocations: 12.09 kB / 0.8058 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.9163, allocations: 183.8 kB / 0.806 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.9163, allocations: 4 kB / 0.806 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.9175, allocations: 99.75 kB / 0.8061 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.9175, allocations: 20 kB / 0.8061 GB, free: 5.766 MB / 0.6231 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006851/0.9182, allocations: 278.5 kB / 0.8063 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.9184, allocations: 83.06 kB / 0.8064 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.9186, allocations: 96.08 kB / 0.8065 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.9186, allocations: 11.89 kB / 0.8065 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9186, allocations: 0 / 0.8065 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/0.9203, allocations: 0.7223 MB / 0.8072 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.9248, allocations: 1.961 MB / 0.8091 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.9248, allocations: 4.688 kB / 0.8091 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/0.9256, allocations: 168.2 kB / 0.8093 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.9256, allocations: 4 kB / 0.8093 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.9257, allocations: 16 kB / 0.8093 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.9257, allocations: 4 kB / 0.8093 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.9257, allocations: 11.19 kB / 0.8093 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.9287, allocations: 1.437 MB / 0.8107 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.9292, allocations: 232 kB / 0.811 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.9293, allocations: 16.06 kB / 0.811 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.9302, allocations: 95.8 kB / 0.8111 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.9303, allocations: 35.97 kB / 0.8111 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.9304, allocations: 23.98 kB / 0.8111 GB, free: 300 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007621/0.9312, allocations: 0.5419 MB / 0.8117 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9312, allocations: 0 / 0.8117 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009808/0.9322, allocations: 244 kB / 0.8119 GB, free: 15.52 MB / 0.6387 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 (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.004208/0.9364, allocations: 2.983 MB / 0.8148 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.9384, allocations: 0.7097 MB / 0.8155 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9384, allocations: 4 kB / 0.8155 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.9393, allocations: 356.3 kB / 0.8158 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.9418, allocations: 0.4961 MB / 0.8163 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.9554, allocations: 7.514 MB / 0.8237 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.9563, allocations: 1.06 MB / 0.8247 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001116/0.9574, allocations: 227.5 kB / 0.8249 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.9579, allocations: 323.3 kB / 0.8252 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of SimCode: time 1.943e-06/0.9579, allocations: 0 / 0.8252 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/1.006, allocations: 25.01 MB / 0.8496 GB, free: 9.059 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.006, allocations: 287.4 kB / 0.8499 GB, free: 8.695 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.2, allocations: 7.094 kB / 0.8499 GB, free: 8.691 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: