Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.004748/0.004748, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.00126/0.00126, allocations: 196 kB / 16.67 MB, free: 5.969 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 278.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8846/0.8846, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 99.83 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5527/0.7125, allocations: 222.6 MB / 0.9833 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.729, allocations: 12.12 MB / 0.9951 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.7312, allocations: 79.56 kB / 0.9952 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.7333, allocations: 0.8577 MB / 0.9961 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.74, allocations: 2.858 MB / 0.9988 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.7434, allocations: 1.44 MB / 1 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.7484, allocations: 4.456 MB / 1.005 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.7505, allocations: 1.726 MB / 1.006 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/0.7556, allocations: 2.502 MB / 1.009 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.7584, allocations: 1.561 MB / 1.01 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005054/0.7589, allocations: 180 kB / 1.01 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.7633, allocations: 2.155 MB / 1.013 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.7644, allocations: 0.7051 MB / 1.013 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.7664, allocations: 1.046 MB / 1.014 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005601/0.772, allocations: 3.346 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.772, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.753e-06/0.772, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.7721, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003552/0.7756, allocations: 2.276 MB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7757, allocations: 12.03 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002369/0.7759, allocations: 202.8 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.7789, allocations: 0.5011 MB / 1.02 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.781, allocations: 1.348 MB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.7811, allocations: 110.8 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.7813, allocations: 148 kB / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.7838, allocations: 1.756 MB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.7838, allocations: 7.938 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.7839, allocations: 60 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.784, allocations: 50.55 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.786, allocations: 1.407 MB / 1.025 GB, free: 8.969 MB / 0.7794 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.008135/0.7942, allocations: 7.289 MB / 1.032 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.7957, allocations: 1.043 MB / 1.033 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009215/0.7966, allocations: 0.7024 MB / 1.034 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.7968, allocations: 113.9 kB / 1.034 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.7969, allocations: 51.55 kB / 1.034 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00101/0.7979, allocations: 302.6 kB / 1.034 GB, free: 15.01 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 3.457e-06/0.7979, allocations: 0 / 1.034 GB, free: 15.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=112): time 0.007415/0.8053, allocations: 4.446 MB / 1.039 GB, free: 10.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.8054, allocations: 171.2 kB / 1.039 GB, free: 10.28 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.8069, allocations: 1.267 MB / 1.04 GB, free: 9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.474e-05/0.807, allocations: 53.7 kB / 1.04 GB, free: 8.941 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.8075, allocations: 0.693 MB / 1.041 GB, free: 8.242 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.8079, allocations: 406.1 kB / 1.041 GB, free: 7.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.8082, allocations: 255.4 kB / 1.042 GB, free: 7.582 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8084, allocations: 362 kB / 1.042 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.8092, allocations: 0.527 MB / 1.042 GB, free: 6.695 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.8102, allocations: 0.8602 MB / 1.043 GB, free: 5.711 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.8208, allocations: 4.797 MB / 1.048 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8208, allocations: 4 kB / 1.048 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002387/0.8232, allocations: 1.616 MB / 1.05 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8232, allocations: 10.34 kB / 1.05 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8232, allocations: 8.047 kB / 1.05 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.8233, allocations: 19.98 kB / 1.05 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.8244, allocations: 288.2 kB / 1.05 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.8244, allocations: 27.92 kB / 1.05 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8256, allocations: 59.77 kB / 1.05 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/0.8257, allocations: 59.97 kB / 1.05 GB, free: 14.67 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0006753/0.8264, allocations: 427.1 kB / 1.05 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.8267, allocations: 162 kB / 1.051 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.8286, allocations: 1.283 MB / 1.052 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.8286, allocations: 12 kB / 1.052 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.8287, allocations: 8 kB / 1.052 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.8302, allocations: 1.252 MB / 1.053 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/0.8359, allocations: 3.759 MB / 1.057 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.8359, allocations: 8 kB / 1.057 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.837, allocations: 247.6 kB / 1.057 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/0.837, allocations: 16 kB / 1.057 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/0.8371, allocations: 40.53 kB / 1.057 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.8372, allocations: 23.92 kB / 1.057 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.8372, allocations: 15.94 kB / 1.057 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.8399, allocations: 2.133 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.8405, allocations: 362.9 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.8407, allocations: 35.94 kB / 1.06 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.8418, allocations: 47.97 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.8419, allocations: 96.31 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/0.842, allocations: 55.97 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001123/0.8432, allocations: 0.8529 MB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8432, allocations: 3.938 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001307/0.8445, allocations: 440 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.003313/0.8478, allocations: 2.795 MB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.8498, allocations: 1.251 MB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.8499, allocations: 7.938 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.8506, allocations: 0.5484 MB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.8544, allocations: 0.9306 MB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.8735, allocations: 12.66 MB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.8748, allocations: 1.376 MB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00142/0.8762, allocations: 385.3 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/0.8772, allocations: 0.6464 MB / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of SimCode: time 7.11e-07/0.8772, allocations: 3.938 kB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.395/1.272, allocations: 44.04 MB / 1.124 GB, free: 282.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.46, allocations: 6.672 kB / 1.124 GB, free: 282.2 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)