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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00125/0.00125, allocations: 192.9 kB / 16.14 MB, free: 6.715 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.245/1.245, allocations: 205.1 MB / 222 MB, free: 4.758 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.555/1.555, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001406/0.001406, allocations: 64.86 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1805, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4888/0.6693, allocations: 218.8 MB / 0.9965 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006982/0.6764, allocations: 5.735 MB / 1.002 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009498/0.6773, allocations: 34.22 kB / 1.002 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.6785, allocations: 0.5036 MB / 1.003 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.6817, allocations: 1.729 MB / 1.004 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.6837, allocations: 1.074 MB / 1.005 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002689/0.6864, allocations: 4.052 MB / 1.009 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.6872, allocations: 0.8774 MB / 1.01 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.6883, allocations: 0.8981 MB / 1.011 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.69, allocations: 0.9665 MB / 1.012 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.6901, allocations: 53.59 kB / 1.012 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.6924, allocations: 1.632 MB / 1.014 GB, free: 492 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.6927, allocations: 410.1 kB / 1.014 GB, free: 356 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.6933, allocations: 0.5888 MB / 1.015 GB, free: 44 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.6956, allocations: 2.146 MB / 1.017 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6956, allocations: 2.125 kB / 1.017 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 7.02e-07/0.6956, allocations: 0 / 1.017 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6956, allocations: 7.938 kB / 1.017 GB, free: 15.23 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.002219/0.6978, allocations: 1.499 MB / 1.018 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6979, allocations: 11.47 kB / 1.018 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.698, allocations: 143.5 kB / 1.018 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.7002, allocations: 318.4 kB / 1.019 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.7012, allocations: 0.7815 MB / 1.019 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.7013, allocations: 67.34 kB / 1.019 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.7014, allocations: 90.44 kB / 1.02 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.7028, allocations: 0.9249 MB / 1.02 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.7029, allocations: 3.938 kB / 1.02 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.703, allocations: 39.06 kB / 1.02 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.703, allocations: 39.77 kB / 1.02 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.7043, allocations: 0.8325 MB / 1.021 GB, free: 12.21 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.004581/0.7088, allocations: 3.514 MB / 1.025 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.7096, allocations: 0.5006 MB / 1.025 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.71, allocations: 293.9 kB / 1.026 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.7101, allocations: 105 kB / 1.026 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7102, allocations: 45.25 kB / 1.026 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.7102, allocations: 0 / 1.026 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.003223/0.7134, allocations: 1.87 MB / 1.027 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.7135, allocations: 56.56 kB / 1.028 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007967/0.7143, allocations: 0.8054 MB / 1.028 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.7143, allocations: 39.05 kB / 1.028 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.7146, allocations: 470.2 kB / 1.029 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.7148, allocations: 169.9 kB / 1.029 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.715, allocations: 124.4 kB / 1.029 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.7151, allocations: 325.9 kB / 1.029 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.7155, allocations: 243.3 kB / 1.03 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.716, allocations: 386.4 kB / 1.03 GB, free: 5.773 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.003293/0.7193, allocations: 1.532 MB / 1.031 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7193, allocations: 2.562 kB / 1.031 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00125/0.7205, allocations: 0.7847 MB / 1.032 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7206, allocations: 7.969 kB / 1.032 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7206, allocations: 6.453 kB / 1.032 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.7208, allocations: 66.53 kB / 1.032 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.7214, allocations: 155.3 kB / 1.032 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.7238, allocations: 2.891 MB / 1.035 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.7247, allocations: 59.5 kB / 1.035 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.7247, allocations: 25.72 kB / 1.035 GB, free: 1.496 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.0005061/0.7252, allocations: 306.6 kB / 1.036 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.7254, allocations: 90.59 kB / 1.036 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.7256, allocations: 103.3 kB / 1.036 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7256, allocations: 8.625 kB / 1.036 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7256, allocations: 0 / 1.036 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009166/0.7265, allocations: 0.8354 MB / 1.037 GB, free: 472 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.729, allocations: 1.784 MB / 1.038 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.729, allocations: 2.75 kB / 1.038 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.7296, allocations: 136.8 kB / 1.039 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.606e-05/0.7297, allocations: 34.84 kB / 1.039 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.7297, allocations: 16.89 kB / 1.039 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.7307, allocations: 1.477 MB / 1.04 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.7308, allocations: 9.281 kB / 1.04 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.7323, allocations: 1.088 MB / 1.041 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.7326, allocations: 237 kB / 1.041 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.7328, allocations: 12.09 kB / 1.041 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.7335, allocations: 59.89 kB / 1.041 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.7336, allocations: 50.75 kB / 1.041 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.7337, allocations: 32.33 kB / 1.042 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006087/0.7343, allocations: 0.5525 MB / 1.042 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7343, allocations: 0 / 1.042 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007802/0.7351, allocations: 278 kB / 1.042 GB, free: 12.38 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.002004/0.7371, allocations: 1.732 MB / 1.044 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.7384, allocations: 0.7912 MB / 1.045 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7384, allocations: 6.469 kB / 1.045 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.7391, allocations: 410.5 kB / 1.045 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.7415, allocations: 0.5764 MB / 1.046 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.7515, allocations: 7.586 MB / 1.053 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.7522, allocations: 1.084 MB / 1.054 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008854/0.7531, allocations: 215.7 kB / 1.054 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.7535, allocations: 339.3 kB / 1.055 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of SimCode: time 6.12e-07/0.7535, allocations: 4 kB / 1.055 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4615/1.215, allocations: 26.06 MB / 1.08 GB, free: 7.836 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.215, allocations: 298.4 kB / 1.08 GB, free: 7.449 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.628, allocations: 2.875 kB / 1.08 GB, free: 7.449 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)