Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.005579/0.005579, allocations: 103.4 kB / 15.73 MB, free: 6.016 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.001308/0.001308, allocations: 194.3 kB / 16.67 MB, free: 5.949 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 275.2 kB / 290.8 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8884/0.8884, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 95.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1607, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.564/0.7248, allocations: 221.1 MB / 0.9818 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008213/0.733, allocations: 5.731 MB / 0.9874 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.7341, allocations: 43.75 kB / 0.9874 GB, free: 92 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.7354, allocations: 0.5747 MB / 0.988 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.7392, allocations: 1.848 MB / 0.9898 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.7417, allocations: 1.191 MB / 0.991 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.7445, allocations: 2.956 MB / 0.9939 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.7457, allocations: 1.024 MB / 0.9949 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.7471, allocations: 1.082 MB / 0.9959 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.7488, allocations: 0.9484 MB / 0.9968 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.749, allocations: 108 kB / 0.9969 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.7514, allocations: 1.434 MB / 0.9983 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.7518, allocations: 458.8 kB / 0.9988 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006295/0.7524, allocations: 0.6534 MB / 0.9994 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.7548, allocations: 2.134 MB / 1.002 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7549, allocations: 4 kB / 1.002 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7549, allocations: 0 / 1.002 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.7549, allocations: 0 / 1.002 GB, free: 1.656 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.002145/0.757, allocations: 1.503 MB / 1.003 GB, free: 100 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7571, allocations: 12.03 kB / 1.003 GB, free: 88 kB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.7573, allocations: 135.3 kB / 1.003 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.7593, allocations: 318.3 kB / 1.003 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.7607, allocations: 0.8629 MB / 1.004 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.7607, allocations: 62 kB / 1.004 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.7609, allocations: 88 kB / 1.004 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.7623, allocations: 0.917 MB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.7624, allocations: 0 / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.7625, allocations: 40.86 kB / 1.005 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.7625, allocations: 37.88 kB / 1.005 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.7638, allocations: 0.8315 MB / 1.006 GB, free: 12.75 MB / 0.7637 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.004866/0.7687, allocations: 3.498 MB / 1.01 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.7694, allocations: 0.4887 MB / 1.01 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.7698, allocations: 301.9 kB / 1.01 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.77, allocations: 101.5 kB / 1.01 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7701, allocations: 51.81 kB / 1.011 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 3.317e-06/0.7701, allocations: 0 / 1.011 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.003245/0.7733, allocations: 1.876 MB / 1.012 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.7734, allocations: 55.84 kB / 1.012 GB, free: 6.02 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.7742, allocations: 0.8059 MB / 1.013 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.7743, allocations: 37.7 kB / 1.013 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.7746, allocations: 479.2 kB / 1.014 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.7747, allocations: 177.5 kB / 1.014 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.7749, allocations: 122.2 kB / 1.014 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.775, allocations: 330 kB / 1.014 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.7754, allocations: 241.2 kB / 1.015 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.7759, allocations: 388.6 kB / 1.015 GB, free: 3.395 MB / 0.7637 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.003385/0.7793, allocations: 1.539 MB / 1.016 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7793, allocations: 0 / 1.016 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001175/0.7805, allocations: 0.7961 MB / 1.017 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7805, allocations: 6.656 kB / 1.017 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7805, allocations: 5.25 kB / 1.017 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.7807, allocations: 66.8 kB / 1.017 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.7814, allocations: 156.2 kB / 1.017 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.7837, allocations: 3.121 MB / 1.02 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.7844, allocations: 31.89 kB / 1.02 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.7844, allocations: 24 kB / 1.02 GB, free: 13.3 MB / 0.7794 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.0004149/0.7849, allocations: 306.2 kB / 1.021 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.785, allocations: 90.97 kB / 1.021 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.7852, allocations: 96.72 kB / 1.021 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.7852, allocations: 12.06 kB / 1.021 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7852, allocations: 0 / 1.021 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009409/0.7861, allocations: 0.8387 MB / 1.022 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.7886, allocations: 1.792 MB / 1.024 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7886, allocations: 0 / 1.024 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.7892, allocations: 139.7 kB / 1.024 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.411e-05/0.7893, allocations: 36.84 kB / 1.024 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.7894, allocations: 19.98 kB / 1.024 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.7905, allocations: 1.59 MB / 1.025 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.7906, allocations: 11.94 kB / 1.025 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.792, allocations: 1.073 MB / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.7923, allocations: 232 kB / 1.027 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.7924, allocations: 16 kB / 1.027 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.7931, allocations: 34.62 kB / 1.027 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.7932, allocations: 39.89 kB / 1.027 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7932, allocations: 27.98 kB / 1.027 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006723/0.7939, allocations: 0.5615 MB / 1.027 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7939, allocations: 4 kB / 1.027 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008137/0.7948, allocations: 276 kB / 1.027 GB, free: 5.715 MB / 0.7794 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.002037/0.7968, allocations: 1.703 MB / 1.029 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.798, allocations: 0.8083 MB / 1.03 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.798, allocations: 128 / 1.03 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.7986, allocations: 410.2 kB / 1.03 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.8009, allocations: 0.5993 MB / 1.031 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/0.8104, allocations: 7 MB / 1.038 GB, free: 10.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/0.8113, allocations: 1.095 MB / 1.039 GB, free: 9.703 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000836/0.8121, allocations: 223.7 kB / 1.039 GB, free: 9.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.8127, allocations: 339.3 kB / 1.039 GB, free: 9.148 MB / 0.795 GB Notification: Performance of SimCode: time 7.11e-07/0.8127, allocations: 0 / 1.039 GB, free: 9.148 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.8734, allocations: 27.92 MB / 1.067 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.75, allocations: 8.484 kB / 1.067 GB, free: 13.75 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)