Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_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.001661/0.001662, allocations: 105.4 kB / 15.7 MB, free: 24 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.001879/0.001879, allocations: 188.2 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 72.77 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2265, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6464/0.8729, allocations: 221.1 MB / 0.9995 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009049/0.882, allocations: 5.668 MB / 1.005 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.8843, allocations: 34.66 kB / 1.005 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.886, allocations: 0.5855 MB / 1.006 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.891, allocations: 1.824 MB / 1.007 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.8938, allocations: 1.181 MB / 1.009 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003557/0.8974, allocations: 2.92 MB / 1.011 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.8987, allocations: 1.013 MB / 1.012 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.9005, allocations: 1.054 MB / 1.013 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.9024, allocations: 0.9445 MB / 1.014 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.9025, allocations: 108.4 kB / 1.014 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.9056, allocations: 1.427 MB / 1.016 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.9061, allocations: 468.1 kB / 1.016 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.9068, allocations: 0.6461 MB / 1.017 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.9099, allocations: 2.111 MB / 1.019 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.9099, allocations: 4 kB / 1.019 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9099, allocations: 0 / 1.019 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.9099, allocations: 4 kB / 1.019 GB, free: 15.14 MB / 0.7481 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.002375/0.9123, allocations: 1.501 MB / 1.02 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9124, allocations: 9.438 kB / 1.02 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.9125, allocations: 136.6 kB / 1.021 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.9144, allocations: 313.1 kB / 1.021 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.9158, allocations: 0.8376 MB / 1.022 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.9159, allocations: 65.44 kB / 1.022 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.916, allocations: 90.02 kB / 1.022 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.9175, allocations: 0.9055 MB / 1.023 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.9175, allocations: 7.906 kB / 1.023 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.9176, allocations: 39.47 kB / 1.023 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.9176, allocations: 33.47 kB / 1.023 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.9189, allocations: 0.8373 MB / 1.024 GB, free: 12.09 MB / 0.7481 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.004796/0.9237, allocations: 3.496 MB / 1.027 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.9245, allocations: 0.5034 MB / 1.028 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.9249, allocations: 297.6 kB / 1.028 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.9251, allocations: 106.9 kB / 1.028 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.9251, allocations: 44.31 kB / 1.028 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.9251, allocations: 0 / 1.028 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.003542/0.9287, allocations: 1.872 MB / 1.03 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.9287, allocations: 56.16 kB / 1.03 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.9296, allocations: 0.7974 MB / 1.031 GB, free: 7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.9297, allocations: 38.52 kB / 1.031 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.93, allocations: 481.1 kB / 1.031 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.9302, allocations: 172.2 kB / 1.031 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.9303, allocations: 116.5 kB / 1.031 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9305, allocations: 338.5 kB / 1.032 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.9309, allocations: 244.6 kB / 1.032 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.9314, allocations: 385.8 kB / 1.032 GB, free: 5.594 MB / 0.7481 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.003275/0.9346, allocations: 1.529 MB / 1.034 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9347, allocations: 0 / 1.034 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001342/0.936, allocations: 0.7951 MB / 1.035 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.936, allocations: 10.19 kB / 1.035 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9361, allocations: 2.719 kB / 1.035 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.9362, allocations: 66.2 kB / 1.035 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.9369, allocations: 149 kB / 1.035 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.9393, allocations: 3.122 MB / 1.038 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.9402, allocations: 29.05 kB / 1.038 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.9402, allocations: 21.72 kB / 1.038 GB, free: 1.117 MB / 0.7481 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.0005528/0.9408, allocations: 316.9 kB / 1.038 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.941, allocations: 92.34 kB / 1.038 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.9412, allocations: 100.7 kB / 1.038 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.9412, allocations: 4.812 kB / 1.038 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.9412, allocations: 0 / 1.038 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009431/0.9421, allocations: 0.8407 MB / 1.039 GB, free: 72 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.9449, allocations: 1.787 MB / 1.041 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9449, allocations: 4 kB / 1.041 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.9455, allocations: 136.2 kB / 1.041 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.223e-05/0.9456, allocations: 36.84 kB / 1.041 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.9456, allocations: 12 kB / 1.041 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.9468, allocations: 1.598 MB / 1.043 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9468, allocations: 3.938 kB / 1.043 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.9483, allocations: 1.092 MB / 1.044 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.9487, allocations: 232 kB / 1.044 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.9489, allocations: 19.98 kB / 1.044 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/0.9495, allocations: 30.77 kB / 1.044 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.9497, allocations: 44.02 kB / 1.044 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/0.9497, allocations: 27.98 kB / 1.044 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007141/0.9504, allocations: 0.5537 MB / 1.045 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9505, allocations: 0 / 1.045 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008928/0.9514, allocations: 276 kB / 1.045 GB, free: 10.43 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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.00197/0.9533, allocations: 1.727 MB / 1.047 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.9546, allocations: 0.8155 MB / 1.047 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9547, allocations: 4 kB / 1.047 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.9552, allocations: 399.9 kB / 1.048 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.9578, allocations: 0.5949 MB / 1.048 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.9671, allocations: 6.961 MB / 1.055 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.9678, allocations: 1.091 MB / 1.056 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007904/0.9686, allocations: 215.6 kB / 1.056 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.9691, allocations: 339.3 kB / 1.057 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of SimCode: time 9.02e-07/0.9691, allocations: 0 / 1.057 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/1.023, allocations: 27.19 MB / 1.083 GB, free: 3.176 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.13, allocations: 14.67 kB / 1.083 GB, free: 3.164 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)