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.001019/0.001019, allocations: 108 kB / 15.6 MB, free: 132 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.001353/0.001353, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.228/1.228, allocations: 205.1 MB / 222.4 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.484/1.484, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001411/0.001412, allocations: 70.64 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1863, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5122/0.6985, allocations: 221.1 MB / 0.9993 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007163/0.7057, allocations: 5.669 MB / 1.005 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.7068, allocations: 40.94 kB / 1.005 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.7082, allocations: 0.5805 MB / 1.005 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.7117, allocations: 1.827 MB / 1.007 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.714, allocations: 1.172 MB / 1.008 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.7166, allocations: 2.909 MB / 1.011 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009426/0.7176, allocations: 1.02 MB / 1.012 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.7186, allocations: 1.051 MB / 1.013 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.72, allocations: 0.926 MB / 1.014 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.7202, allocations: 112.4 kB / 1.014 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.7221, allocations: 1.424 MB / 1.016 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.7225, allocations: 468.8 kB / 1.016 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.723, allocations: 0.6519 MB / 1.017 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.7248, allocations: 2.099 MB / 1.019 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7249, allocations: 0 / 1.019 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7249, allocations: 3.938 kB / 1.019 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.7249, allocations: 3.031 kB / 1.019 GB, free: 15.29 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.001879/0.7268, allocations: 1.499 MB / 1.02 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.7268, allocations: 9.531 kB / 1.02 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.727, allocations: 148.6 kB / 1.02 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.7286, allocations: 313.1 kB / 1.021 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.7296, allocations: 0.7911 MB / 1.021 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.7297, allocations: 70.02 kB / 1.022 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.7298, allocations: 85.69 kB / 1.022 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.7311, allocations: 0.9161 MB / 1.023 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.7311, allocations: 6.172 kB / 1.023 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/0.7312, allocations: 38.44 kB / 1.023 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.7312, allocations: 41.58 kB / 1.023 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.7324, allocations: 0.832 MB / 1.023 GB, free: 12.25 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.004255/0.7367, allocations: 3.536 MB / 1.027 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.7374, allocations: 0.4993 MB / 1.027 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.7378, allocations: 305.4 kB / 1.028 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.7379, allocations: 99.09 kB / 1.028 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.738, allocations: 41.56 kB / 1.028 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 1.482e-06/0.738, allocations: 0 / 1.028 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.002887/0.7409, allocations: 1.873 MB / 1.03 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.7409, allocations: 57.12 kB / 1.03 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.7416, allocations: 0.7966 MB / 1.03 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.7417, allocations: 38.61 kB / 1.03 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.742, allocations: 472.9 kB / 1.031 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.7421, allocations: 175.9 kB / 1.031 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.7423, allocations: 120.1 kB / 1.031 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7424, allocations: 327.8 kB / 1.032 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.7428, allocations: 251.5 kB / 1.032 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.7432, allocations: 381.5 kB / 1.032 GB, free: 5.75 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.003119/0.7464, allocations: 1.534 MB / 1.034 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7464, allocations: 2.25 kB / 1.034 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001074/0.7474, allocations: 0.7961 MB / 1.034 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.7475, allocations: 7.75 kB / 1.034 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7475, allocations: 5.781 kB / 1.034 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.7476, allocations: 67.14 kB / 1.035 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.7482, allocations: 148.8 kB / 1.035 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.7503, allocations: 3.124 MB / 1.038 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.751, allocations: 30.86 kB / 1.038 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.751, allocations: 25.28 kB / 1.038 GB, free: 1.262 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.0003166/0.7514, allocations: 310.2 kB / 1.038 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.7515, allocations: 87.78 kB / 1.038 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.7517, allocations: 100.9 kB / 1.038 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7517, allocations: 9.125 kB / 1.038 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7517, allocations: 0 / 1.038 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008557/0.7525, allocations: 0.833 MB / 1.039 GB, free: 232 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.7548, allocations: 1.797 MB / 1.041 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7548, allocations: 7.984 kB / 1.041 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.7554, allocations: 127.8 kB / 1.041 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/0.7555, allocations: 36.84 kB / 1.041 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.7555, allocations: 24.33 kB / 1.041 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.7566, allocations: 1.582 MB / 1.043 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.7566, allocations: 11.88 kB / 1.043 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.758, allocations: 1.091 MB / 1.044 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.7583, allocations: 236 kB / 1.044 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7584, allocations: 15.98 kB / 1.044 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.759, allocations: 31.03 kB / 1.044 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.7591, allocations: 43.89 kB / 1.044 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.7592, allocations: 31.98 kB / 1.044 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005739/0.7597, allocations: 0.5537 MB / 1.044 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7597, allocations: 0 / 1.044 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006644/0.7604, allocations: 276 kB / 1.045 GB, free: 10.57 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.00184/0.7623, allocations: 1.747 MB / 1.046 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.7635, allocations: 0.8554 MB / 1.047 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7635, allocations: 4 kB / 1.047 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.764, allocations: 406.3 kB / 1.048 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.7663, allocations: 0.5935 MB / 1.048 GB, free: 6.891 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.7743, allocations: 7.263 MB / 1.055 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.7748, allocations: 1.084 MB / 1.056 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006687/0.7755, allocations: 219.7 kB / 1.057 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.7759, allocations: 343.3 kB / 1.057 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7759, allocations: 4 kB / 1.057 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.832/3.607, allocations: 27.14 MB / 1.083 GB, free: 2.953 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/16.29, allocations: 14.17 kB / 1.083 GB, free: 2.941 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)