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.004676/0.004676, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001363/0.001363, allocations: 194.7 kB / 16.67 MB, free: 5.484 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 282.5 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 100.3 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1723, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5943/0.7667, allocations: 221.9 MB / 0.9826 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.7868, allocations: 13.76 MB / 0.996 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.789, allocations: 67.62 kB / 0.9961 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.7911, allocations: 0.8073 MB / 0.9969 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005783/0.7969, allocations: 2.17 MB / 0.999 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.8002, allocations: 1.182 MB / 1 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00429/0.8045, allocations: 2.881 MB / 1.003 GB, free: 140 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.8063, allocations: 1.205 MB / 1.004 GB, free: 14.91 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006086/0.8124, allocations: 2.439 MB / 1.007 GB, free: 12.47 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.8147, allocations: 1.028 MB / 1.008 GB, free: 11.46 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.8149, allocations: 100 kB / 1.008 GB, free: 11.37 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.8179, allocations: 1.59 MB / 1.009 GB, free: 9.773 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.8183, allocations: 430.6 kB / 1.01 GB, free: 9.352 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.0007923/0.8191, allocations: 0.684 MB / 1.01 GB, free: 8.664 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.8222, allocations: 2.086 MB / 1.012 GB, free: 6.57 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8222, allocations: 0 / 1.012 GB, free: 6.57 MB / 0.7638 GB Notification: Performance of FrontEnd: time 4.529e-06/0.8222, allocations: 7.938 kB / 1.012 GB, free: 6.562 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.8222, allocations: 0 / 1.012 GB, free: 6.562 MB / 0.7638 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.002639/0.8249, allocations: 1.699 MB / 1.014 GB, free: 4.805 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8249, allocations: 8.031 kB / 1.014 GB, free: 4.797 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.8251, allocations: 143.6 kB / 1.014 GB, free: 4.648 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.8273, allocations: 434.7 kB / 1.015 GB, free: 4.223 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.8289, allocations: 0.9569 MB / 1.015 GB, free: 3.223 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.829, allocations: 66 kB / 1.016 GB, free: 3.16 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8291, allocations: 88 kB / 1.016 GB, free: 3.074 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.8311, allocations: 1.227 MB / 1.017 GB, free: 1.727 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.8312, allocations: 11.86 kB / 1.017 GB, free: 1.715 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.8313, allocations: 40 kB / 1.017 GB, free: 1.676 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.8313, allocations: 41.3 kB / 1.017 GB, free: 1.637 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.8332, allocations: 0.8755 MB / 1.018 GB, free: 0.7617 MB / 0.7638 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.007429/0.8407, allocations: 6.031 MB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.8411, allocations: 259.7 kB / 1.024 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.8414, allocations: 141.1 kB / 1.024 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.8416, allocations: 101.1 kB / 1.024 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.8416, allocations: 42.5 kB / 1.024 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007405/0.8423, allocations: 123.5 kB / 1.024 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 3.757e-06/0.8424, allocations: 0 / 1.024 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001184/0.8435, allocations: 476.4 kB / 1.025 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.8437, allocations: 188.4 kB / 1.025 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.8456, allocations: 1.303 MB / 1.026 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.8457, allocations: 33.7 kB / 1.026 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.8462, allocations: 0.6334 MB / 1.027 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.8463, allocations: 83.36 kB / 1.027 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.8465, allocations: 134.1 kB / 1.027 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8467, allocations: 333.9 kB / 1.027 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.8473, allocations: 236.9 kB / 1.028 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/0.8482, allocations: 0.5671 MB / 1.028 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.8494, allocations: 0.69 MB / 1.029 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8494, allocations: 4 kB / 1.029 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00183/0.8512, allocations: 0.8617 MB / 1.03 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8512, allocations: 8 kB / 1.03 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.8513, allocations: 15.98 kB / 1.03 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.8513, allocations: 12.81 kB / 1.03 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.852, allocations: 175.7 kB / 1.03 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.8521, allocations: 15.94 kB / 1.03 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.8533, allocations: 131.4 kB / 1.03 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.8534, allocations: 39.98 kB / 1.03 GB, free: 3.414 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0004248/0.8538, allocations: 302.1 kB / 1.03 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.854, allocations: 123.2 kB / 1.03 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.8545, allocations: 284.4 kB / 1.031 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8546, allocations: 4 kB / 1.031 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.8546, allocations: 4 kB / 1.031 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8546, allocations: 3.938 kB / 1.031 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.8569, allocations: 1.678 MB / 1.032 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8569, allocations: 4 kB / 1.032 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.8571, allocations: 35.92 kB / 1.032 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8571, allocations: 4 kB / 1.032 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.8571, allocations: 15.98 kB / 1.032 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8571, allocations: 4 kB / 1.032 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8571, allocations: 0 / 1.032 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.8577, allocations: 0.5068 MB / 1.033 GB, free: 288 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.8581, allocations: 240.2 kB / 1.033 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.8582, allocations: 11.95 kB / 1.033 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.8589, allocations: 52 kB / 1.033 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.859, allocations: 19.86 kB / 1.033 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.859, allocations: 11.94 kB / 1.033 GB, free: 15.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001423/0.8604, allocations: 0.912 MB / 1.034 GB, free: 15.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8604, allocations: 0 / 1.034 GB, free: 15.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009777/0.8614, allocations: 287.6 kB / 1.034 GB, free: 14.74 MB / 0.795 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.001237/0.8627, allocations: 1.14 MB / 1.036 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009971/0.8637, allocations: 457.2 kB / 1.036 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8637, allocations: 0 / 1.036 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.8638, allocations: 101.2 kB / 1.036 GB, free: 13.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.8662, allocations: 0.5775 MB / 1.037 GB, free: 12.44 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8778, allocations: 8.157 MB / 1.045 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.8786, allocations: 1.118 MB / 1.046 GB, free: 2.656 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007511/0.8793, allocations: 237.6 kB / 1.046 GB, free: 2.422 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.8799, allocations: 410.8 kB / 1.046 GB, free: 2.023 MB / 0.795 GB Notification: Performance of SimCode: time 1.032e-06/0.8799, allocations: 11.94 kB / 1.046 GB, free: 2.012 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.9404, allocations: 27.57 MB / 1.073 GB, free: 6.98 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.377/10.32, allocations: 14.2 kB / 1.073 GB, free: 6.973 MB / 0.8263 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)