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.004665/0.004665, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001066/0.001066, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 282.9 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9013/0.9013, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 95.86 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 86.98 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5529/0.7043, allocations: 221.9 MB / 0.9826 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.721, allocations: 13.77 MB / 0.9961 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.7233, allocations: 67.62 kB / 0.9961 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.7254, allocations: 0.8192 MB / 0.9969 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.7307, allocations: 2.253 MB / 0.9991 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.7336, allocations: 1.183 MB / 1 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.7373, allocations: 2.897 MB / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.739, allocations: 1.187 MB / 1.004 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005669/0.7446, allocations: 2.53 MB / 1.007 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.7466, allocations: 1.018 MB / 1.008 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.7468, allocations: 100 kB / 1.008 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.7496, allocations: 1.606 MB / 1.009 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.75, allocations: 430.7 kB / 1.01 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.7508, allocations: 0.6762 MB / 1.01 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.7536, allocations: 2.098 MB / 1.013 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7536, allocations: 0 / 1.013 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7536, allocations: 0 / 1.013 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.7537, allocations: 0 / 1.013 GB, free: 6.371 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002262/0.7559, allocations: 1.707 MB / 1.014 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.756, allocations: 8.031 kB / 1.014 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.7561, allocations: 143.6 kB / 1.014 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.7582, allocations: 450.5 kB / 1.015 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7597, allocations: 0.9491 MB / 1.016 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.7598, allocations: 69.98 kB / 1.016 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.7599, allocations: 88 kB / 1.016 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.7619, allocations: 1.215 MB / 1.017 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.762, allocations: 7.938 kB / 1.017 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.7621, allocations: 40 kB / 1.017 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.7621, allocations: 41.3 kB / 1.017 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.7639, allocations: 0.8717 MB / 1.018 GB, free: 0.5742 MB / 0.7637 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.006245/0.7702, allocations: 6.035 MB / 1.024 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.7706, allocations: 263.7 kB / 1.024 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.7708, allocations: 145 kB / 1.024 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.771, allocations: 101.1 kB / 1.024 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.771, allocations: 38.56 kB / 1.024 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006649/0.7717, allocations: 127.3 kB / 1.024 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 3.888e-06/0.7717, allocations: 0 / 1.024 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001113/0.7728, allocations: 476.6 kB / 1.025 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.7729, allocations: 192.4 kB / 1.025 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.7746, allocations: 1.303 MB / 1.026 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.7746, allocations: 29.7 kB / 1.026 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.775, allocations: 0.6373 MB / 1.027 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.7751, allocations: 79.38 kB / 1.027 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.7753, allocations: 134.1 kB / 1.027 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.7754, allocations: 329.9 kB / 1.028 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.776, allocations: 240.9 kB / 1.028 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.7768, allocations: 0.5597 MB / 1.028 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/0.7778, allocations: 0.6862 MB / 1.029 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.7778, allocations: 4 kB / 1.029 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001709/0.7795, allocations: 0.8577 MB / 1.03 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7796, allocations: 11.98 kB / 1.03 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.7796, allocations: 12 kB / 1.03 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.7796, allocations: 12.81 kB / 1.03 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.7803, allocations: 171.7 kB / 1.03 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.7803, allocations: 19.92 kB / 1.03 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7815, allocations: 127.8 kB / 1.03 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.7815, allocations: 39.98 kB / 1.03 GB, free: 3.227 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.0003493/0.7819, allocations: 306 kB / 1.031 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.7821, allocations: 127.2 kB / 1.031 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.7826, allocations: 280.4 kB / 1.031 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7826, allocations: 4 kB / 1.031 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7826, allocations: 7.984 kB / 1.031 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7826, allocations: 7.875 kB / 1.031 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.7845, allocations: 1.675 MB / 1.033 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7845, allocations: 4 kB / 1.033 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.7848, allocations: 39.92 kB / 1.033 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.7848, allocations: 4.625 kB / 1.033 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7848, allocations: 4 kB / 1.033 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.7848, allocations: 11.98 kB / 1.033 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7848, allocations: 3.938 kB / 1.033 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.7853, allocations: 0.4991 MB / 1.033 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.7856, allocations: 249.3 kB / 1.033 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.7858, allocations: 7.953 kB / 1.033 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.7865, allocations: 51.94 kB / 1.033 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.7865, allocations: 23.86 kB / 1.033 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.7865, allocations: 8 kB / 1.033 GB, free: 15.74 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001363/0.7879, allocations: 0.912 MB / 1.034 GB, free: 14.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7879, allocations: 0 / 1.034 GB, free: 14.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001001/0.7889, allocations: 287.6 kB / 1.035 GB, free: 14.54 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.001213/0.7902, allocations: 1.143 MB / 1.036 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.7912, allocations: 453.2 kB / 1.036 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7912, allocations: 0 / 1.036 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.7914, allocations: 105.1 kB / 1.036 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.7937, allocations: 0.5851 MB / 1.037 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.8045, allocations: 8.145 MB / 1.045 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.8051, allocations: 1.114 MB / 1.046 GB, free: 2.465 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008219/0.806, allocations: 245.5 kB / 1.046 GB, free: 2.223 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.8065, allocations: 407.3 kB / 1.046 GB, free: 1.824 MB / 0.795 GB Notification: Performance of SimCode: time 2.875e-06/0.8065, allocations: 4 kB / 1.046 GB, free: 1.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.054/0.8605, allocations: 27.58 MB / 1.073 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.842, allocations: 11.03 kB / 1.073 GB, free: 6.773 MB / 0.8262 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)