Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001505/0.001505, allocations: 109.2 kB / 16.41 MB, free: 6.402 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.001626/0.001627, allocations: 193.2 kB / 17.34 MB, free: 5.691 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7221/0.7221, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.78 kB / 0.568 GB, free: 28.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 77.94 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5131/0.6453, allocations: 221.1 MB / 0.86 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008612/0.654, allocations: 5.74 MB / 0.8656 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.6552, allocations: 47.06 kB / 0.8656 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.6568, allocations: 0.5953 MB / 0.8662 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.6609, allocations: 1.912 MB / 0.8681 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.6636, allocations: 1.203 MB / 0.8692 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.6666, allocations: 2.958 MB / 0.8721 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.6678, allocations: 1.022 MB / 0.8731 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.6693, allocations: 1.117 MB / 0.8742 GB, free: 264 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.6711, allocations: 0.9548 MB / 0.8751 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.6712, allocations: 108 kB / 0.8753 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.6738, allocations: 1.426 MB / 0.8766 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.6742, allocations: 466.8 kB / 0.8771 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.6748, allocations: 0.6534 MB / 0.8777 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.6773, allocations: 2.137 MB / 0.8798 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6773, allocations: 3.938 kB / 0.8798 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6774, allocations: 0 / 0.8798 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.6774, allocations: 0 / 0.8798 GB, free: 10.51 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002202/0.6796, allocations: 1.541 MB / 0.8813 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6796, allocations: 12.62 kB / 0.8813 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.6798, allocations: 139.3 kB / 0.8815 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.6817, allocations: 326.9 kB / 0.8818 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.6831, allocations: 0.8637 MB / 0.8826 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.6831, allocations: 66 kB / 0.8827 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.6833, allocations: 84 kB / 0.8828 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6847, allocations: 0.917 MB / 0.8837 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.6848, allocations: 0 / 0.8837 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.6849, allocations: 32 kB / 0.8837 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.6849, allocations: 37.94 kB / 0.8837 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.6862, allocations: 0.8353 MB / 0.8845 GB, free: 5.559 MB / 0.6387 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.004896/0.6912, allocations: 3.511 MB / 0.888 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.6919, allocations: 0.4887 MB / 0.8884 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.6924, allocations: 298 kB / 0.8887 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.6926, allocations: 105.5 kB / 0.8888 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.6926, allocations: 46.94 kB / 0.8889 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.6926, allocations: 0 / 0.8889 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003304/0.6959, allocations: 1.893 MB / 0.8907 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.696, allocations: 55.84 kB / 0.8908 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.6968, allocations: 0.8136 MB / 0.8916 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.6969, allocations: 45.7 kB / 0.8916 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.6972, allocations: 484.2 kB / 0.8921 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6974, allocations: 186.4 kB / 0.8923 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.6976, allocations: 114.2 kB / 0.8924 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6977, allocations: 334 kB / 0.8927 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.6981, allocations: 241.2 kB / 0.8929 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.6986, allocations: 384.7 kB / 0.8933 GB, free: 12.16 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.7021, allocations: 1.536 MB / 0.8948 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7021, allocations: 3.938 kB / 0.8948 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001229/0.7033, allocations: 0.7966 MB / 0.8956 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7034, allocations: 4 kB / 0.8956 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7034, allocations: 4 kB / 0.8956 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.7035, allocations: 74.02 kB / 0.8956 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.7042, allocations: 151.8 kB / 0.8958 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.7065, allocations: 3.121 MB / 0.8988 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.7072, allocations: 29.66 kB / 0.8989 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.7073, allocations: 24 kB / 0.8989 GB, free: 6.066 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000382/0.7077, allocations: 305.5 kB / 0.8992 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.7078, allocations: 95.53 kB / 0.8993 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.708, allocations: 104.7 kB / 0.8994 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.708, allocations: 4 kB / 0.8994 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.708, allocations: 0 / 0.8994 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000958/0.709, allocations: 0.8349 MB / 0.9002 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.7116, allocations: 1.794 MB / 0.9019 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7116, allocations: 4 kB / 0.9019 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.7122, allocations: 135.8 kB / 0.9021 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.332e-05/0.7123, allocations: 37.25 kB / 0.9021 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.7124, allocations: 19.98 kB / 0.9021 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.7135, allocations: 1.591 MB / 0.9037 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7135, allocations: 8.062 kB / 0.9037 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.7149, allocations: 1.066 MB / 0.9047 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.7153, allocations: 240.5 kB / 0.905 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7154, allocations: 12 kB / 0.905 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.7161, allocations: 41.64 kB / 0.905 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.7162, allocations: 43.88 kB / 0.9051 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.7163, allocations: 39.98 kB / 0.9051 GB, free: 15.29 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006178/0.7169, allocations: 0.5537 MB / 0.9056 GB, free: 14.74 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7169, allocations: 0 / 0.9056 GB, free: 14.74 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007476/0.7177, allocations: 279.9 kB / 0.9059 GB, free: 14.46 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/0.7196, allocations: 1.698 MB / 0.9076 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.7208, allocations: 0.8126 MB / 0.9084 GB, free: 11.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7209, allocations: 4 kB / 0.9084 GB, free: 11.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005349/0.7214, allocations: 410.1 kB / 0.9087 GB, free: 11.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.7239, allocations: 0.609 MB / 0.9093 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/0.7324, allocations: 7.025 MB / 0.9162 GB, free: 3.531 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.733, allocations: 1.091 MB / 0.9173 GB, free: 2.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006591/0.7337, allocations: 223.6 kB / 0.9175 GB, free: 2.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.7341, allocations: 343.3 kB / 0.9178 GB, free: 1.852 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.7341, allocations: 4 kB / 0.9178 GB, free: 1.848 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/0.788, allocations: 27.44 MB / 0.9446 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.95, allocations: 15.67 kB / 0.9446 GB, free: 6.82 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)