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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.798/0.798, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 176.9 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.0008359, allocations: 91.59 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 283.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.262e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4505, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.068/5.519, allocations: 1.89 GB / 2.648 GB, free: 127.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/5.519, allocations: 86.14 kB / 2.648 GB, free: 127.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.307/9.827, allocations: 1.086 GB / 3.734 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/9.827, allocations: 0 / 3.734 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001396/9.827, allocations: 50.09 kB / 3.734 GB, free: 105.9 MB / 0.7136 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.004844/9.832, allocations: 1.867 MB / 3.736 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/9.832, allocations: 11.75 kB / 3.736 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/9.835, allocations: 497.9 kB / 3.737 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/9.839, allocations: 1.535 MB / 3.738 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/9.839, allocations: 46.31 kB / 3.738 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/9.84, allocations: 88.5 kB / 3.738 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002108/9.842, allocations: 1.22 MB / 3.739 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/9.844, allocations: 1.493 MB / 3.741 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/9.844, allocations: 7.875 kB / 3.741 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/9.844, allocations: 3.594 kB / 3.741 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/9.844, allocations: 50.09 kB / 3.741 GB, free: 104.1 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.008567/9.853, allocations: 7.077 MB / 3.748 GB, free: 99.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/9.854, allocations: 0.959 MB / 3.749 GB, free: 98.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/9.855, allocations: 0.6321 MB / 3.749 GB, free: 98.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/9.855, allocations: 116.9 kB / 3.749 GB, free: 98.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/9.855, allocations: 50.22 kB / 3.75 GB, free: 98.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001546/9.857, allocations: 283.2 kB / 3.75 GB, free: 98.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 4.849e-06/9.857, allocations: 3.938 kB / 3.75 GB, free: 98.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.006105/9.863, allocations: 3.49 MB / 3.753 GB, free: 96.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/9.863, allocations: 170.9 kB / 3.753 GB, free: 95.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/9.864, allocations: 0.7733 MB / 3.754 GB, free: 95.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/9.864, allocations: 29.3 kB / 3.754 GB, free: 95.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/9.865, allocations: 0.717 MB / 3.755 GB, free: 95.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/9.865, allocations: 388.6 kB / 3.755 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/9.865, allocations: 0 / 3.755 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/9.865, allocations: 357.6 kB / 3.756 GB, free: 94.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/9.866, allocations: 467.3 kB / 3.756 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/9.867, allocations: 0.782 MB / 3.757 GB, free: 93.63 MB / 0.7136 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/9.883, allocations: 3.875 MB / 3.761 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/9.883, allocations: 3.938 kB / 3.761 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002793/9.885, allocations: 1.38 MB / 3.762 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/9.885, allocations: 14.41 kB / 3.762 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/9.886, allocations: 7.125 kB / 3.762 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.733e-05/9.886, allocations: 15.09 kB / 3.762 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/9.887, allocations: 282.5 kB / 3.762 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.45e-05/9.887, allocations: 15.94 kB / 3.762 GB, free: 91.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/9.889, allocations: 73.05 kB / 3.762 GB, free: 91.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/9.889, allocations: 59.89 kB / 3.762 GB, free: 91.7 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0004567/9.89, allocations: 144.3 kB / 3.762 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002596/9.892, allocations: 1.118 MB / 3.764 GB, free: 90.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/9.893, allocations: 138.3 kB / 3.764 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/9.895, allocations: 1.124 MB / 3.765 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/9.895, allocations: 12 kB / 3.765 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/9.895, allocations: 0 / 3.765 GB, free: 89.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/9.897, allocations: 1.143 MB / 3.766 GB, free: 88.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006173/9.903, allocations: 3.433 MB / 3.769 GB, free: 84.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/9.903, allocations: 8 kB / 3.769 GB, free: 84.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/9.904, allocations: 255.6 kB / 3.77 GB, free: 84.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/9.904, allocations: 16 kB / 3.77 GB, free: 84.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/9.904, allocations: 23.98 kB / 3.77 GB, free: 84.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/9.904, allocations: 23.92 kB / 3.77 GB, free: 84.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/9.904, allocations: 15.56 kB / 3.77 GB, free: 84.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/9.907, allocations: 2.602 MB / 3.772 GB, free: 81.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/9.908, allocations: 327.4 kB / 3.772 GB, free: 81.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/9.908, allocations: 23.98 kB / 3.772 GB, free: 81.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/9.909, allocations: 69.06 kB / 3.773 GB, free: 81.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/9.909, allocations: 102 kB / 3.773 GB, free: 81.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/9.909, allocations: 51.97 kB / 3.773 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007643/9.91, allocations: 0.5762 MB / 3.773 GB, free: 80.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/9.91, allocations: 3.938 kB / 3.773 GB, free: 80.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002007/9.912, allocations: 0.5077 MB / 3.774 GB, free: 80 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete 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 (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.006728/9.919, allocations: 8.281 MB / 3.782 GB, free: 71.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001841/9.921, allocations: 1.087 MB / 3.783 GB, free: 70.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/9.921, allocations: 4 kB / 3.783 GB, free: 70.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/9.921, allocations: 0.4961 MB / 3.783 GB, free: 70.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/9.925, allocations: 0.7033 MB / 3.784 GB, free: 69.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/9.931, allocations: 3.015 MB / 3.787 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009134/9.932, allocations: 1.398 MB / 3.788 GB, free: 65.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001825/9.934, allocations: 342.7 kB / 3.789 GB, free: 64.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009997/9.935, allocations: 0.6164 MB / 3.789 GB, free: 64.13 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/9.935, allocations: 8 kB / 3.789 GB, free: 64.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09432/10.03, allocations: 51.15 MB / 3.839 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/10.03, allocations: 222 kB / 3.839 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.915/13.94, allocations: 0 / 3.839 GB, free: 13.53 MB / 0.7136 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/linux/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)