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.001222/0.001222, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001186/0.001186, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7887/0.7887, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.58 kB / 0.5736 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1423, allocations: 78.86 MB / 0.6506 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5257/0.6681, allocations: 221.2 MB / 0.8666 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009049/0.6772, allocations: 5.739 MB / 0.8722 GB, free: 188 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009075/0.6781, allocations: 43.75 kB / 0.8722 GB, free: 144 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.6796, allocations: 0.5786 MB / 0.8728 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.6835, allocations: 1.843 MB / 0.8746 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.6862, allocations: 1.197 MB / 0.8758 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.6895, allocations: 2.954 MB / 0.8786 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.6908, allocations: 1.017 MB / 0.8796 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.6928, allocations: 1.251 MB / 0.8809 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.6946, allocations: 0.9295 MB / 0.8818 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.6948, allocations: 108 kB / 0.8819 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.6974, allocations: 1.415 MB / 0.8833 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.6979, allocations: 466.8 kB / 0.8837 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.6986, allocations: 0.6533 MB / 0.8843 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.7013, allocations: 2.149 MB / 0.8864 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.7013, allocations: 0 / 0.8864 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7013, allocations: 0 / 0.8864 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7013, allocations: 0 / 0.8864 GB, free: 1.559 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.002381/0.7037, allocations: 1.548 MB / 0.8879 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7038, allocations: 12.03 kB / 0.888 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.704, allocations: 147.3 kB / 0.8881 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.7059, allocations: 318.9 kB / 0.8884 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.7072, allocations: 0.8599 MB / 0.8892 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.7073, allocations: 66 kB / 0.8893 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7074, allocations: 84 kB / 0.8894 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.709, allocations: 0.9209 MB / 0.8903 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.7091, allocations: 3.984 kB / 0.8903 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.7092, allocations: 39.94 kB / 0.8903 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.7092, allocations: 33.98 kB / 0.8904 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7107, allocations: 0.8315 MB / 0.8912 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.7159, allocations: 3.677 MB / 0.8948 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.7168, allocations: 496.4 kB / 0.8952 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.7172, allocations: 298 kB / 0.8955 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.7174, allocations: 97.53 kB / 0.8956 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.7175, allocations: 46.91 kB / 0.8957 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 3.526e-06/0.7175, allocations: 8 kB / 0.8957 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.003577/0.7211, allocations: 1.889 MB / 0.8975 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7211, allocations: 63.78 kB / 0.8976 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/0.7221, allocations: 0.8058 MB / 0.8984 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.7222, allocations: 37.7 kB / 0.8984 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.7225, allocations: 484.2 kB / 0.8989 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7227, allocations: 186.4 kB / 0.899 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.7229, allocations: 118.2 kB / 0.8991 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7231, allocations: 334 kB / 0.8995 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.7235, allocations: 245.2 kB / 0.8997 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.7241, allocations: 380.7 kB / 0.9001 GB, free: 3 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.003775/0.7279, allocations: 1.535 MB / 0.9016 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7279, allocations: 4 kB / 0.9016 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001332/0.7292, allocations: 0.7891 MB / 0.9023 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7292, allocations: 10.03 kB / 0.9023 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7293, allocations: 4 kB / 0.9023 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.7294, allocations: 69.61 kB / 0.9024 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.7301, allocations: 151.8 kB / 0.9026 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.7328, allocations: 3.118 MB / 0.9056 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.7336, allocations: 32.14 kB / 0.9056 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.7336, allocations: 20 kB / 0.9057 GB, free: 12.91 MB / 0.67 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.0004178/0.7341, allocations: 305.5 kB / 0.9059 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.7342, allocations: 99.39 kB / 0.906 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.7344, allocations: 104.7 kB / 0.9061 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7344, allocations: 4 kB / 0.9061 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7344, allocations: 0 / 0.9061 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.7355, allocations: 0.8388 MB / 0.907 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.7383, allocations: 1.795 MB / 0.9087 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7384, allocations: 8.062 kB / 0.9087 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.739, allocations: 127.8 kB / 0.9088 GB, free: 9.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.35e-05/0.7391, allocations: 48.77 kB / 0.9089 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.7391, allocations: 15.94 kB / 0.9089 GB, free: 9.375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.7405, allocations: 1.598 MB / 0.9105 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.7405, allocations: 4 kB / 0.9105 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.7421, allocations: 1.07 MB / 0.9115 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.7424, allocations: 232.5 kB / 0.9117 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.7425, allocations: 19.94 kB / 0.9118 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006617/0.7432, allocations: 40.77 kB / 0.9118 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.7433, allocations: 35.89 kB / 0.9118 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.7434, allocations: 35.92 kB / 0.9119 GB, free: 6.129 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007168/0.7441, allocations: 0.5615 MB / 0.9124 GB, free: 5.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7441, allocations: 0 / 0.9124 GB, free: 5.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007876/0.7449, allocations: 275.9 kB / 0.9127 GB, free: 5.301 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.002193/0.7471, allocations: 1.705 MB / 0.9143 GB, free: 3.531 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.7485, allocations: 0.8039 MB / 0.9151 GB, free: 2.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7485, allocations: 4 kB / 0.9151 GB, free: 2.699 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.7491, allocations: 411.6 kB / 0.9155 GB, free: 2.285 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.7517, allocations: 0.611 MB / 0.9161 GB, free: 1.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/0.7613, allocations: 7.019 MB / 0.923 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.762, allocations: 1.088 MB / 0.924 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006967/0.7627, allocations: 219.7 kB / 0.9242 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.7632, allocations: 339.3 kB / 0.9246 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of SimCode: time 3e-07/0.7632, allocations: 0 / 0.9246 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06371/0.8269, allocations: 27.45 MB / 0.9514 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.44, allocations: 0.625 kB / 0.9514 GB, free: 13.68 MB / 0.7169 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)