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.006688/0.006688, allocations: 99.81 kB / 15.73 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.001685/0.001685, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 286.4 kB / 290.8 MB, free: 14.46 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: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 99.84 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3964, allocations: 86.98 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5988/0.9952, allocations: 221.8 MB / 0.9826 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01424/1.01, allocations: 13.76 MB / 0.996 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/1.012, allocations: 64.91 kB / 0.9961 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/1.013, allocations: 0.8376 MB / 0.9969 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/1.018, allocations: 2.242 MB / 0.9991 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/1.021, allocations: 1.19 MB / 1 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00301/1.024, allocations: 2.89 MB / 1.003 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/1.025, allocations: 1.2 MB / 1.004 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/1.03, allocations: 2.504 MB / 1.007 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/1.032, allocations: 1.027 MB / 1.008 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/1.032, allocations: 101.6 kB / 1.008 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/1.035, allocations: 1.6 MB / 1.009 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/1.035, allocations: 430.6 kB / 1.01 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/1.036, allocations: 0.6769 MB / 1.01 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/1.038, allocations: 2.1 MB / 1.012 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.038, allocations: 0.9375 kB / 1.012 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.038, allocations: 0 / 1.012 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.706e-05/1.038, allocations: 0 / 1.012 GB, free: 0.7891 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.002017/1.04, allocations: 1.707 MB / 1.014 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/1.04, allocations: 10.06 kB / 1.014 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/1.04, allocations: 141.3 kB / 1.014 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/1.042, allocations: 438.4 kB / 1.015 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.043, allocations: 0.9562 MB / 1.016 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/1.044, allocations: 68.16 kB / 1.016 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.044, allocations: 90.66 kB / 1.016 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/1.045, allocations: 1.224 MB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.045, allocations: 6.062 kB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/1.046, allocations: 38.91 kB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/1.046, allocations: 35.5 kB / 1.017 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/1.047, allocations: 0.8756 MB / 1.018 GB, free: 15 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.005485/1.053, allocations: 6.038 MB / 1.024 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/1.053, allocations: 261.4 kB / 1.024 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/1.053, allocations: 148.7 kB / 1.024 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/1.053, allocations: 95.98 kB / 1.024 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.054, allocations: 44.7 kB / 1.024 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005375/1.054, allocations: 118.8 kB / 1.024 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/1.054, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001027/1.055, allocations: 481.9 kB / 1.025 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/1.055, allocations: 188.9 kB / 1.025 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.057, allocations: 1.306 MB / 1.026 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.057, allocations: 29.2 kB / 1.026 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/1.057, allocations: 0.6353 MB / 1.027 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/1.057, allocations: 79.8 kB / 1.027 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/1.057, allocations: 141.3 kB / 1.027 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.058, allocations: 333 kB / 1.028 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/1.058, allocations: 236.5 kB / 1.028 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/1.059, allocations: 0.5522 MB / 1.028 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/1.06, allocations: 0.6931 MB / 1.029 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.06, allocations: 2.406 kB / 1.029 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001618/1.061, allocations: 0.8607 MB / 1.03 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.061, allocations: 11.75 kB / 1.03 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.062, allocations: 10.03 kB / 1.03 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.062, allocations: 13.72 kB / 1.03 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/1.062, allocations: 171.7 kB / 1.03 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/1.062, allocations: 18.53 kB / 1.03 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.063, allocations: 134.1 kB / 1.03 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/1.063, allocations: 35.81 kB / 1.03 GB, free: 8.613 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.000329/1.064, allocations: 309.5 kB / 1.031 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.064, allocations: 130.6 kB / 1.031 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/1.064, allocations: 278.2 kB / 1.031 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.064, allocations: 4.906 kB / 1.031 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.064, allocations: 6.188 kB / 1.031 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.064, allocations: 5.672 kB / 1.031 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/1.066, allocations: 1.681 MB / 1.033 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.066, allocations: 1.938 kB / 1.033 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.066, allocations: 37.05 kB / 1.033 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.066, allocations: 9.5 kB / 1.033 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/1.066, allocations: 8.031 kB / 1.033 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.066, allocations: 6.375 kB / 1.033 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.066, allocations: 4.562 kB / 1.033 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/1.067, allocations: 0.4935 MB / 1.033 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/1.067, allocations: 252 kB / 1.033 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/1.067, allocations: 10.3 kB / 1.033 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/1.068, allocations: 43.09 kB / 1.033 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/1.068, allocations: 28.53 kB / 1.033 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/1.068, allocations: 14.12 kB / 1.033 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001198/1.069, allocations: 0.9094 MB / 1.034 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.069, allocations: 0 / 1.034 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007623/1.07, allocations: 282.5 kB / 1.035 GB, free: 6.938 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.000964/1.071, allocations: 1.131 MB / 1.036 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009259/1.072, allocations: 465.6 kB / 1.036 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.072, allocations: 0 / 1.036 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.072, allocations: 97.86 kB / 1.036 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.074, allocations: 0.5826 MB / 1.037 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.085, allocations: 8.149 MB / 1.045 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/1.085, allocations: 1.12 MB / 1.046 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000741/1.086, allocations: 240 kB / 1.046 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/1.086, allocations: 410.8 kB / 1.046 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of SimCode: time 2.114e-06/1.086, allocations: 0 / 1.046 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/1.136, allocations: 27.58 MB / 1.073 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.954/10.09, allocations: 14.31 kB / 1.073 GB, free: 9.629 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)