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.0007691/0.0007694, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007873/0.0007873, allocations: 172.7 kB / 15.95 MB, free: 208 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.393/1.393, allocations: 223.2 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.076/1.076, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003996, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 83.4 MB / 0.5975 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5272/0.7333, allocations: 201.6 MB / 0.7944 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009889/0.7432, allocations: 5.404 MB / 0.7997 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.7449, allocations: 35.75 kB / 0.7997 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.7465, allocations: 393.5 kB / 0.8001 GB, free: 12.64 MB / 0.6231 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: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. Notification: Performance of NFTyping.typeBindings: time 0.003758/0.7503, allocations: 1.217 MB / 0.8013 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.7532, allocations: 0.902 MB / 0.8022 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003709/0.757, allocations: 2.996 MB / 0.8051 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.7583, allocations: 0.6693 MB / 0.8057 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.7603, allocations: 0.8752 MB / 0.8066 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.7618, allocations: 0.7782 MB / 0.8074 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.7621, allocations: 47.94 kB / 0.8074 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.7645, allocations: 0.9159 MB / 0.8083 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.765, allocations: 338.9 kB / 0.8086 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.7655, allocations: 237.2 kB / 0.8088 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.7675, allocations: 1.453 MB / 0.8103 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7676, allocations: 4 kB / 0.8103 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7676, allocations: 0 / 0.8103 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.718e-05/0.7676, allocations: 0 / 0.8103 GB, free: 2.215 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002421/0.7701, allocations: 1.239 MB / 0.8115 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7701, allocations: 12.03 kB / 0.8115 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002964/0.7704, allocations: 122.6 kB / 0.8116 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.773, allocations: 442.2 kB / 0.812 GB, free: 360 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.7746, allocations: 0.7383 MB / 0.8127 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.7749, allocations: 129.9 kB / 0.8129 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.7751, allocations: 75.94 kB / 0.8129 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.7771, allocations: 1.002 MB / 0.8139 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.7771, allocations: 4 kB / 0.8139 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.7772, allocations: 39.25 kB / 0.814 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.7773, allocations: 29.78 kB / 0.814 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.7793, allocations: 0.9173 MB / 0.8149 GB, free: 13.37 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.005889/0.7852, allocations: 3.522 MB / 0.8183 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.7867, allocations: 0.6454 MB / 0.819 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.7875, allocations: 361.6 kB / 0.8193 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.7877, allocations: 101.1 kB / 0.8194 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.7877, allocations: 50.44 kB / 0.8194 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.936e-06/0.7877, allocations: 0 / 0.8194 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.005117/0.7929, allocations: 1.986 MB / 0.8214 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.7929, allocations: 55.41 kB / 0.8214 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7942, allocations: 0.7744 MB / 0.8222 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.94e-05/0.7943, allocations: 33.7 kB / 0.8222 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.7947, allocations: 459.5 kB / 0.8227 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.7948, allocations: 141.9 kB / 0.8228 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.7949, allocations: 12 kB / 0.8228 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.7951, allocations: 326 kB / 0.8231 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.7958, allocations: 332.9 kB / 0.8234 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.7967, allocations: 459.5 kB / 0.8239 GB, free: 3.793 MB / 0.6387 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.003641/0.8003, allocations: 1.342 MB / 0.8252 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8003, allocations: 0 / 0.8252 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002004/0.8024, allocations: 0.8815 MB / 0.826 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.8024, allocations: 15.94 kB / 0.8261 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.8024, allocations: 8.094 kB / 0.8261 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.8025, allocations: 4 kB / 0.8261 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.8033, allocations: 183.8 kB / 0.8262 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.8033, allocations: 7.938 kB / 0.8263 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8043, allocations: 99.75 kB / 0.8264 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.8044, allocations: 27.94 kB / 0.8264 GB, free: 1.203 MB / 0.6387 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.0004903/0.8049, allocations: 273.6 kB / 0.8266 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.8051, allocations: 83.06 kB / 0.8267 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.8053, allocations: 104 kB / 0.8268 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.8053, allocations: 4 kB / 0.8268 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8053, allocations: 3.938 kB / 0.8268 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/0.8068, allocations: 0.7301 MB / 0.8275 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/0.8108, allocations: 1.954 MB / 0.8294 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.8109, allocations: 7.938 kB / 0.8295 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.8116, allocations: 168.2 kB / 0.8296 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.8116, allocations: 4 kB / 0.8296 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.8117, allocations: 16 kB / 0.8296 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.8117, allocations: 5.047 kB / 0.8296 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.8117, allocations: 11.89 kB / 0.8297 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.8142, allocations: 1.278 MB / 0.8309 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.8146, allocations: 240 kB / 0.8311 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.8147, allocations: 8.875 kB / 0.8311 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.8156, allocations: 91.98 kB / 0.8312 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.8157, allocations: 35.91 kB / 0.8313 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.8157, allocations: 27.98 kB / 0.8313 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006962/0.8164, allocations: 0.538 MB / 0.8318 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8165, allocations: 0 / 0.8318 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008418/0.8173, allocations: 247.9 kB / 0.832 GB, free: 11.19 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 (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.003087/0.8204, allocations: 1.926 MB / 0.8339 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.8221, allocations: 0.7091 MB / 0.8346 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.8221, allocations: 4 kB / 0.8346 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.8229, allocations: 349 kB / 0.835 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.8252, allocations: 0.5119 MB / 0.8355 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.8359, allocations: 5.615 MB / 0.8409 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/0.8366, allocations: 1.044 MB / 0.842 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009371/0.8375, allocations: 227.6 kB / 0.8422 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.838, allocations: 323.3 kB / 0.8425 GB, free: 248 kB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.838, allocations: 3.938 kB / 0.8425 GB, free: 244 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/1.196, allocations: 25.03 MB / 0.8669 GB, free: 207.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.196, allocations: 282.5 kB / 0.8672 GB, free: 207.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.558, allocations: 0 / 0.8672 GB, free: 207.1 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: