Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001125/0.001125, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 281.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9028/0.9028, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 98.41 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, allocations: 86.98 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4294/0.5532, allocations: 219.6 MB / 0.894 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.5689, allocations: 13.85 MB / 0.9075 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.571, allocations: 61.56 kB / 0.9076 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.5728, allocations: 0.6782 MB / 0.9083 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.5774, allocations: 2.036 MB / 0.9103 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.58, allocations: 1.047 MB / 0.9113 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004106/0.5841, allocations: 4.028 MB / 0.9152 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.5853, allocations: 1.025 MB / 0.9162 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.5904, allocations: 2.246 MB / 0.9184 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.5929, allocations: 1.08 MB / 0.9195 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.593, allocations: 64 kB / 0.9195 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.5961, allocations: 1.831 MB / 0.9213 GB, free: 232 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.5965, allocations: 402.6 kB / 0.9217 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.5972, allocations: 0.645 MB / 0.9223 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.5997, allocations: 2.118 MB / 0.9244 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5997, allocations: 3.938 kB / 0.9244 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5997, allocations: 0 / 0.9244 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.5997, allocations: 4 kB / 0.9244 GB, free: 13.05 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002252/0.602, allocations: 1.647 MB / 0.926 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.602, allocations: 12.03 kB / 0.926 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.6022, allocations: 139.6 kB / 0.9262 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.6043, allocations: 429.8 kB / 0.9266 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6056, allocations: 0.8974 MB / 0.9274 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008991/0.6065, allocations: 233.8 kB / 0.9277 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.6066, allocations: 88 kB / 0.9277 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.6086, allocations: 1.222 MB / 0.9289 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6086, allocations: 0 / 0.9289 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.6087, allocations: 43.98 kB / 0.929 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.6087, allocations: 33.31 kB / 0.929 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.6106, allocations: 0.8986 MB / 0.9299 GB, free: 7.219 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.005863/0.6165, allocations: 5.593 MB / 0.9354 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.6169, allocations: 263.7 kB / 0.9356 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.6171, allocations: 145.1 kB / 0.9357 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.6172, allocations: 93.31 kB / 0.9358 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.6173, allocations: 50.44 kB / 0.9359 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006108/0.6179, allocations: 127.1 kB / 0.936 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.6179, allocations: 8 kB / 0.936 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001075/0.619, allocations: 455.9 kB / 0.9364 GB, free: 136 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.6191, allocations: 188.4 kB / 0.9366 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.6207, allocations: 1.302 MB / 0.9379 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.6208, allocations: 33.7 kB / 0.9379 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.6212, allocations: 0.6166 MB / 0.9385 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.6212, allocations: 74.98 kB / 0.9386 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.6214, allocations: 129.9 kB / 0.9387 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.6215, allocations: 326 kB / 0.939 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.6222, allocations: 240.9 kB / 0.9393 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.623, allocations: 0.5303 MB / 0.9398 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.624, allocations: 0.6485 MB / 0.9404 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.624, allocations: 4 kB / 0.9404 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001717/0.6257, allocations: 0.826 MB / 0.9412 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6257, allocations: 12 kB / 0.9412 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6257, allocations: 12.09 kB / 0.9412 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.6258, allocations: 15.98 kB / 0.9413 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.6264, allocations: 159.7 kB / 0.9414 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.6265, allocations: 19.92 kB / 0.9414 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6278, allocations: 195.6 kB / 0.9416 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.6278, allocations: 31.98 kB / 0.9417 GB, free: 10.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (63): * Single equations (assignments): 63 * 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.0003323/0.6282, allocations: 290.9 kB / 0.9419 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.6284, allocations: 122.7 kB / 0.942 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.6288, allocations: 276.2 kB / 0.9423 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6288, allocations: 15.92 kB / 0.9423 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6288, allocations: 0 / 0.9423 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6288, allocations: 11.94 kB / 0.9423 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.6307, allocations: 1.67 MB / 0.944 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6307, allocations: 4 kB / 0.944 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6309, allocations: 39.92 kB / 0.944 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6309, allocations: 4.375 kB / 0.944 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6309, allocations: 8 kB / 0.944 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6309, allocations: 4 kB / 0.944 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.631, allocations: 7.938 kB / 0.944 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.6314, allocations: 490.2 kB / 0.9445 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.6317, allocations: 235.5 kB / 0.9447 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6318, allocations: 15.98 kB / 0.9447 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/0.6326, allocations: 63.94 kB / 0.9448 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.6326, allocations: 19.86 kB / 0.9448 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.6326, allocations: 15.98 kB / 0.9448 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001302/0.6339, allocations: 0.9076 MB / 0.9457 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.634, allocations: 0 / 0.9457 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007786/0.6347, allocations: 283.5 kB / 0.946 GB, free: 5.805 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (20): * Single equations (assignments): 20 * 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.0009633/0.6357, allocations: 1.135 MB / 0.9471 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009525/0.6367, allocations: 443.2 kB / 0.9475 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6367, allocations: 4.062 kB / 0.9475 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.6368, allocations: 103.8 kB / 0.9476 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.6392, allocations: 0.5479 MB / 0.9482 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.6509, allocations: 8.883 MB / 0.9568 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.6515, allocations: 1.122 MB / 0.9579 GB, free: 8.895 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008455/0.6523, allocations: 225.3 kB / 0.9581 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.6528, allocations: 415.3 kB / 0.9585 GB, free: 8.266 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.6528, allocations: 0 / 0.9585 GB, free: 8.266 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.211/2.863, allocations: 26.18 MB / 0.9841 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/2.864, allocations: 298.5 kB / 0.9844 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/6.063, allocations: 0 / 0.9844 GB, free: 14.21 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)