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.00127/0.001271, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 197.4 kB / 16.53 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 286.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 104.5 kB / 0.6065 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1434, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4742/0.6177, allocations: 221.9 MB / 0.9103 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.6365, allocations: 13.76 MB / 0.9237 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.6383, allocations: 67.62 kB / 0.9238 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.6401, allocations: 0.8074 MB / 0.9246 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.6448, allocations: 2.156 MB / 0.9267 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.6475, allocations: 1.173 MB / 0.9278 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.6508, allocations: 2.878 MB / 0.9306 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6523, allocations: 1.201 MB / 0.9318 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.6572, allocations: 2.433 MB / 0.9342 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.6591, allocations: 1.022 MB / 0.9352 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.6593, allocations: 104 kB / 0.9353 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.6621, allocations: 1.582 MB / 0.9368 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.6626, allocations: 434.6 kB / 0.9372 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.6633, allocations: 0.6801 MB / 0.9379 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.6659, allocations: 2.037 MB / 0.9399 GB, free: 15.17 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.666, allocations: 4 kB / 0.9399 GB, free: 15.17 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/0.666, allocations: 4 kB / 0.9399 GB, free: 15.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.666, allocations: 0 / 0.9399 GB, free: 15.16 MB / 0.67 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.002536/0.6685, allocations: 1.646 MB / 0.9415 GB, free: 13.46 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6686, allocations: 8.031 kB / 0.9415 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.6688, allocations: 143.6 kB / 0.9416 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.671, allocations: 445.7 kB / 0.9421 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6723, allocations: 0.8896 MB / 0.9429 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009361/0.6732, allocations: 233.8 kB / 0.9432 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6734, allocations: 95.98 kB / 0.9433 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.6754, allocations: 1.231 MB / 0.9445 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.6755, allocations: 7.938 kB / 0.9445 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.6756, allocations: 36 kB / 0.9445 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.6756, allocations: 41.3 kB / 0.9445 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.6777, allocations: 0.9024 MB / 0.9454 GB, free: 9.281 MB / 0.67 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.006962/0.6847, allocations: 6.073 MB / 0.9513 GB, free: 2.922 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.6851, allocations: 263.7 kB / 0.9516 GB, free: 2.609 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.6854, allocations: 149.1 kB / 0.9517 GB, free: 2.445 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.6855, allocations: 101 kB / 0.9518 GB, free: 2.328 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.6856, allocations: 42.55 kB / 0.9519 GB, free: 2.277 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006002/0.6862, allocations: 119.1 kB / 0.952 GB, free: 2.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 2.043e-06/0.6862, allocations: 0 / 0.952 GB, free: 2.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001185/0.6874, allocations: 480.2 kB / 0.9524 GB, free: 1.684 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6875, allocations: 187.9 kB / 0.9526 GB, free: 1.457 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.6895, allocations: 1.311 MB / 0.9539 GB, free: 132 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.6895, allocations: 33.7 kB / 0.9539 GB, free: 92 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.6901, allocations: 0.6242 MB / 0.9546 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.6901, allocations: 78.94 kB / 0.9546 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6904, allocations: 142 kB / 0.9548 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6905, allocations: 330 kB / 0.9551 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/0.6913, allocations: 252.9 kB / 0.9553 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.6923, allocations: 0.5714 MB / 0.9559 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.6936, allocations: 0.7033 MB / 0.9566 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.6936, allocations: 4 kB / 0.9566 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002082/0.6957, allocations: 0.8824 MB / 0.9574 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6957, allocations: 8 kB / 0.9574 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.6957, allocations: 12 kB / 0.9574 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.6957, allocations: 12 kB / 0.9575 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.6965, allocations: 180.3 kB / 0.9576 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.6965, allocations: 23.86 kB / 0.9577 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.6979, allocations: 155.7 kB / 0.9578 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.6979, allocations: 39.98 kB / 0.9578 GB, free: 11.78 MB / 0.6856 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.0003672/0.6983, allocations: 302 kB / 0.9581 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.6985, allocations: 114.6 kB / 0.9582 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.699, allocations: 281.5 kB / 0.9585 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.699, allocations: 4 kB / 0.9585 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6991, allocations: 0 / 0.9585 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.6991, allocations: 15.86 kB / 0.9585 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.7012, allocations: 1.678 MB / 0.9602 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7012, allocations: 4.625 kB / 0.9602 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.7014, allocations: 35.92 kB / 0.9602 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.7014, allocations: 4 kB / 0.9602 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.7015, allocations: 8 kB / 0.9602 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.7015, allocations: 8.984 kB / 0.9602 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.7015, allocations: 12.25 kB / 0.9602 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.702, allocations: 496.2 kB / 0.9607 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.7024, allocations: 239.5 kB / 0.9609 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.7025, allocations: 8 kB / 0.9609 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.7033, allocations: 55.94 kB / 0.961 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.7034, allocations: 19.92 kB / 0.961 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.7034, allocations: 12 kB / 0.961 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001557/0.7049, allocations: 0.9276 MB / 0.9619 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.705, allocations: 0 / 0.9619 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008258/0.7058, allocations: 279.5 kB / 0.9622 GB, free: 7.117 MB / 0.6856 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.001183/0.707, allocations: 1.147 MB / 0.9633 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.7081, allocations: 479.5 kB / 0.9638 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7081, allocations: 0 / 0.9638 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.7083, allocations: 104.9 kB / 0.9639 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.7109, allocations: 0.5868 MB / 0.9644 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.7239, allocations: 8.757 MB / 0.973 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.7247, allocations: 1.118 MB / 0.9741 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008521/0.7256, allocations: 237.6 kB / 0.9743 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.7261, allocations: 419.2 kB / 0.9747 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.7261, allocations: 0 / 0.9747 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/0.7834, allocations: 27.38 MB / 1.001 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.833, allocations: 7.422 kB / 1.001 GB, free: 14.7 MB / 0.7325 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)