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.008119/0.008119, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001694/0.001694, allocations: 189.1 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002376, allocations: 278.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9249/0.9249, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 103.8 kB / 0.681 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4105, allocations: 86.97 MB / 0.7659 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.6277/1.038, allocations: 221.8 MB / 0.9826 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01395/1.052, allocations: 13.77 MB / 0.996 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/1.054, allocations: 66.59 kB / 0.9961 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/1.056, allocations: 0.8092 MB / 0.9969 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004382/1.061, allocations: 2.157 MB / 0.999 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/1.063, allocations: 1.19 MB / 1 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002813/1.066, allocations: 2.883 MB / 1.003 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/1.067, allocations: 1.203 MB / 1.004 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006307/1.074, allocations: 2.441 MB / 1.007 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/1.076, allocations: 1.025 MB / 1.008 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/1.076, allocations: 101.8 kB / 1.008 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/1.078, allocations: 1.587 MB / 1.009 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/1.079, allocations: 432.1 kB / 1.01 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/1.079, allocations: 0.6849 MB / 1.01 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/1.082, allocations: 2.094 MB / 1.012 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/1.082, allocations: 4.75 kB / 1.012 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.082, allocations: 0 / 1.012 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.082, allocations: 0.9062 kB / 1.012 GB, free: 0.7969 MB / 0.7169 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.002211/1.084, allocations: 1.703 MB / 1.014 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.084, allocations: 9.062 kB / 1.014 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/1.085, allocations: 138.5 kB / 1.014 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.087, allocations: 440.8 kB / 1.015 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.088, allocations: 0.9532 MB / 1.015 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/1.088, allocations: 70.12 kB / 1.016 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/1.088, allocations: 87.84 kB / 1.016 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.09, allocations: 1.224 MB / 1.017 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.09, allocations: 5.781 kB / 1.017 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/1.09, allocations: 42.44 kB / 1.017 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/1.09, allocations: 34.7 kB / 1.017 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.092, allocations: 0.8782 MB / 1.018 GB, free: 15.01 MB / 0.7325 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.006827/1.099, allocations: 6.032 MB / 1.024 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/1.099, allocations: 258.5 kB / 1.024 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/1.099, allocations: 148.6 kB / 1.024 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/1.1, allocations: 99.44 kB / 1.024 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/1.1, allocations: 44.28 kB / 1.024 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006407/1.1, allocations: 116.8 kB / 1.024 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.795e-06/1.1, allocations: 3.938 kB / 1.024 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001125/1.101, allocations: 475.3 kB / 1.025 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.102, allocations: 189.2 kB / 1.025 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/1.103, allocations: 1.302 MB / 1.026 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/1.103, allocations: 31.45 kB / 1.026 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/1.104, allocations: 0.6332 MB / 1.027 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/1.104, allocations: 85.09 kB / 1.027 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/1.104, allocations: 139.8 kB / 1.027 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.104, allocations: 330.4 kB / 1.027 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/1.105, allocations: 239.8 kB / 1.028 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/1.106, allocations: 0.5567 MB / 1.028 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.107, allocations: 0.6941 MB / 1.029 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.107, allocations: 5.562 kB / 1.029 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001681/1.108, allocations: 0.8631 MB / 1.03 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.108, allocations: 10.44 kB / 1.03 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.108, allocations: 11.03 kB / 1.03 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.108, allocations: 15.03 kB / 1.03 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.109, allocations: 166.6 kB / 1.03 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.109, allocations: 23.8 kB / 1.03 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.11, allocations: 122.4 kB / 1.03 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/1.11, allocations: 41.2 kB / 1.03 GB, free: 8.625 MB / 0.7325 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.0004081/1.111, allocations: 313 kB / 1.03 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/1.111, allocations: 127.5 kB / 1.03 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/1.112, allocations: 277 kB / 1.031 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.112, allocations: 8.469 kB / 1.031 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.112, allocations: 1.547 kB / 1.031 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.112, allocations: 10.75 kB / 1.031 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/1.114, allocations: 1.681 MB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.114, allocations: 1.969 kB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/1.114, allocations: 38.12 kB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.114, allocations: 2.312 kB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.114, allocations: 8 kB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.114, allocations: 6.781 kB / 1.032 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.114, allocations: 12.19 kB / 1.032 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/1.114, allocations: 498.7 kB / 1.033 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/1.115, allocations: 239.4 kB / 1.033 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.115, allocations: 17.19 kB / 1.033 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/1.115, allocations: 47.28 kB / 1.033 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/1.115, allocations: 18.12 kB / 1.033 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/1.115, allocations: 17.62 kB / 1.033 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001216/1.117, allocations: 0.9103 MB / 1.034 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.117, allocations: 0 / 1.034 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000864/1.118, allocations: 278.9 kB / 1.034 GB, free: 6.957 MB / 0.7325 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.001207/1.119, allocations: 1.154 MB / 1.036 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.12, allocations: 460.2 kB / 1.036 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.12, allocations: 0.75 kB / 1.036 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/1.12, allocations: 105.9 kB / 1.036 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.122, allocations: 0.5798 MB / 1.037 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.133, allocations: 8.157 MB / 1.045 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/1.134, allocations: 1.114 MB / 1.046 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008907/1.135, allocations: 237.5 kB / 1.046 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/1.136, allocations: 410 kB / 1.046 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/1.136, allocations: 0 / 1.046 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05898/1.195, allocations: 27.57 MB / 1.073 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.391/10.59, allocations: 18.33 kB / 1.073 GB, free: 9.828 MB / 0.7637 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)